mohammed jameel-448990
SSC Rookie
Points: 32
More actions
March 15, 2011 at 11:53 pm
#1299220
------------
innosys
Grasshopper
Points: 11
June 10, 2019 at 4:04 am
#3651689
Declare @Hdate nvarchar(50)
set @Hdate = convert(varchar(10),convert(date,convert(varchar(12),getdate(),131),103),112)
Smile Please
June 10, 2019 at 4:05 am
#3651690
this help me a lot
Eirikur Eiriksson
SSC Guru
Points: 182911
June 10, 2019 at 12:57 pm
#3651789
This should do the trick, no need to convert to a varchar
😎
SELECT convert(date,convert(varchar(12),getdate(),131),103) AS AH_DATE
Viewing 4 posts - 16 through 18 (of 18 total)
You must be logged in to reply to this topic. Login to reply