Find Jobs
Hire Freelancers

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

£10-20 GBP

已关闭
已发布大约 1 年前

£10-20 GBP

货到付款
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");
项目 ID: 35901892

关于此项目

15提案
远程项目
活跃1 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
15威客以平均价£15 GBP来参与此工作竞价
用户头像
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's go ahead with me. Thanks
£15 GBP 在1天之内
4.9 (187条评论)
7.0
7.0
用户头像
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天之内
4.9 (36条评论)
5.7
5.7
用户头像
❤ 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 client and high quality , keep time promise. Let's share our idea. Looking forward to hear from you soon. Best Regard.
£20 GBP 在1天之内
5.0 (2条评论)
3.3
3.3
用户头像
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 minutes from the result, and finally returns the string representation of the date time using the format "yyyy-MM-dd HH':'mm". However, the code does not seem to be complete, as the regular expression match "m" is not defined. You would need to initialize it with a regex pattern that matches the input string format "3/2/2023, 8:30 am".
£15 GBP 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
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条评论)
0.0
0.0

关于客户

GERMANY的国旗
London, Germany
4.9
22
付款方式已验证
会员自3月 4, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。