Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date format in VB.NET
Message
De
20/05/2003 00:15:38
 
 
À
19/05/2003 23:13:21
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00790262
Message ID:
00790273
Vues:
24
Michel,

I'm not sure if it's the same in VB as it is in C#, but in C# a datetime object can be manipulated with various methods to get the date in various formats. I don't know if this answers your question or not.

~~Bonnie


>I would like to know what controls the date format in VB.NET. For example, if I have this:
>
>
>Public Function GetMessage(ByVal tdDate As Date) As String
>   Return tdDate
>End Function
>
>
>Is the date format controlled by the OS or within the definition of the Web Service?
>
>In my case, I need to rely on a DD/MM/YYYY format. So here, before returning the date value, I need to pass that date to another process in the DD/MM/YYYY format.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform