Information générale
Catégorie:
Code, syntaxe and commandes
>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.......
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement