Sql Server query to get database date and UTC Date

Amatya
Posted by Amatya under Sql Server category on | Points: 40 | Views : 628
Get database date.
select getdate()



Get UTC date.

UTC is the time standard commonly used across the world. The world's timing centers have agreed to keep their time scales closely synchronized - or coordinated - therefore the name Coordinated Universal Time .
select GETUTCDATE()


Thanks
Amatya

Comments or Responses

Login to post response