Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Dear All,Is there a way for me to detect the datetime timezone? If UTC then no need to perform convert. If not then let's convert to UTC. How can i perform it?Let said,getDate()=> 2011-08-26 09:14:24.167getUTCDate => 2011-08-26 01:14:24.167 (Converted Result suppose getting)If the timezone is UTC 2011-08-26 01:14:24.167Convert value will remain the same as 2011-08-26 01:14:24.167Please advise.Thank you.Regards,Micheale