DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+8 =
Submit