Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper settings for 24 hours
Message
From
24/01/2005 16:13:16
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Proper settings for 24 hours
Miscellaneous
Thread ID:
00980191
Message ID:
00980191
Views:
55
I have this function which I am using to return a date in French format:
    ' Return the date in French format
    ' expD1 Date
    Public Shared Function GetDateTime(ByVal tdDateTime As DateTime) As DateTime
        Return Format(tdDateTime, "dd/MM/yyyy HH:mm:ss")
    End Function
What I don't understand, is that I am ending up with:

23/01/2005 6:00:11 PM

instead of

23/01/2005 18:00:11
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
Next
Reply
Map
View

Click here to load this message in the networking platform