Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert( varchar(11), date_time, 103)
Message
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Database management
Title:
Convert( varchar(11), date_time, 103)
Miscellaneous
Thread ID:
01682711
Message ID:
01682711
Views:
38
Hi,

I know I should know it since I have this code in my application. But I would like to confirm that my understanding is still (after so many years) is correct.

I have this code:
Convert( varchar(11), date_time, 103)
and
Convert( varchar(11), date_time, 111)
Does the above mean to convert a DATETIME column to a string of British format (103) and US format (111)?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform