>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);
>--------------------------------------------------------------------------------
Of course, it's one of the constructors
http://msdn.microsoft.com/en-us/library/xcfzdy4x.aspxAnd this one should work as well - if you want to use strings
Re: Date formats in c# Thread #
1534833 Message #
1535014>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 !!
>
>
>Regards,
>Gerard
>
>
Gregory