Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql change date time from SGT to GMT

select DATEADD(hour,DATEDIFF (hour, GETDATE(), GETUTCDATE()),MyLocalDateTime) as GmtDateTime
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #change #date #time #SGT #GMT
ADD COMMENT
Topic
Name
5+8 =