sophiekafumu
Newbie
Points: 9
More actions
November 25, 2009 at 2:02 am
#217275
Currentlythe date format is American datetime format with dates begining with month. I just want a format of dd/mm/yy:
Nabha
SSCrazy Eights
Points: 8534
November 25, 2009 at 2:59 am
#1083880
Select convert(varchar(10), CONVERT(datetime, getdate(), 101), 103)
---------------------------------------------------------------------------------
Jack Corbett
SSC Guru
Points: 184394
November 25, 2009 at 8:45 am
#1084108
You can use SET DATEFORMAT. The Date Format comes from your language settings otherwise.
Jack CorbettConsultant - Straight Path SolutionsCheck out these links on how to get faster and more accurate answers:Forum Etiquette: How to post data/code on a forum to get the best help Need an Answer? Actually, No ... You Need a Question
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply