General information
Category:
Coding, syntax and commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only