Закрыт

In this #C code convert datetime format into new format for £10

Job Description:

I'm trying to transform a timestamp format from "3/2/2023, 8:30 am" to "2023-02-03 08:30" in #C. First person to message with the correct answer will get £10.

Here is my code.

GroupCollection groups = [login to view URL];

string field = groups["field1"].ToString();

DateTime res;

try

{

res = [login to view URL](field, "d/M/yyyy, h':'mm tt", [login to view URL]);

}

catch

{

return [login to view URL];

}

res = [login to view URL](new TimeSpan(0,0,0));

return [login to view URL]("yyyy-MM-dd HH':'mm");

Навыки: Программирование на C++, Программирование на C#, Программирование на С, .NET, Архитектура ПО

О клиенте:
( 22 отзыв(-а, -ов) ) London, Germany

ID проекта: #35901892

15 фрилансеров(-а) готовы выполнить эту работу в среднем за £15

abugosia

Hello, I'm Abu Gosia. I'm interesting in your project very well. I'm good in C#, .Net Core, MVC, ASP.NET, Angular.js, Yii2, PHP, Laravel, Codeigneter, Wordpress, Open Cart. I m quite well experienced in these jobs. Let Больше

£15 GBP за 1 день
(187 отзывов(-а))
7.0
eduardoherreral4

Hi I have read your description carefully. ⭐ I have rich experiences in C# and C++ Programming I worked on many similar projects. I can guarantee the quality of the job. Please kindly message me. Thank you.

£15 GBP за 7 дней(-я)
(36 отзывов(-а))
5.7
nguyenkhang2226

❤ C/C# EXPERT ❤ Thank you for posting I am an C/C# developer with 10+ years of professional experience. I have plenty of ability to carry out my work with high quality in time. What i want is good relationship with cli Больше

£20 GBP за 1 день
(2 отзывов(-а))
3.3
alich0001

The code seems to be trying to extract a "field1" group from a regular expression match "m", and parse it as a date time using the format "d/M/yyyy, h':'mm tt". Then it subtracts a time span of 0 days, 0 hours and 0 mi Больше

£15 GBP за 1 день
(0 отзывов(-а))
0.0
matfreelance

Hello, I have the solution for your query. Contact me and I'll give you the correct way. The conversion format should be like this ToString("yyyy-MM-dd HH:mm") Message me if I can help you

£20 GBP за 1 день
(0 отзывов(-а))
0.0