Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing a date into its simplest format
Message
From
31/01/2008 10:34:23
 
 
To
31/01/2008 08:55:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01287307
Message ID:
01287489
Views:
11
>There is (are) universal formats.
>dateTime.ToString("u"):
>2008-01-31 13:20:09Z
>
>dateTime.ToString("s"):
>2008-01-31T13:20:09
>
>...
>
>Such formats are easily recognizable as a datetime. In .Net DateTime.TryParse could be used and say in XML data it's simply recognized as a datetime. A numeric format OTOH is developer dependant (IMHO).

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform