Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date formats in c#
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01534833
Message ID:
01535080
Views:
49
Hi Viv.
Thanks for that.
Yes, my original question had phrased it a s a string, as I was comparing it to what I am used to in VFP
The main purpose of the question was how to initialize a Date Field, so I will use the DateTime construct
Many thanks again for all your help
Regards,
Gerard




>>Hi Craig, Tahks for the reply and I appreciate your forwarding me the link.
>>The site deals with UTC and I cannot see definitievly there where you can get a date from a sting.
>>
>>On reading all the replies here, and chasing the links, following seems to be the best solution:
>>
>>--------------------------------------------------------------------------------
>>DateTime dt = new DateTime(2011, 05, 10);
>>--------------------------------------------------------------------------------
>>
>>WOULD everybody agree that this will ALWAYS, definitively, no matter what the LOCAL is, return 10th May, 2011 ??? (and not 5thOctober)
>>
>>If so, my question is answered, if not, I'll have to keep searching !!
>
>Yes, definitely, always.
>But that wasn't your original question which was using a string.......
Previous
Reply
Map
View

Click here to load this message in the networking platform