Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
create function dtUtc2Local(@dtUtc datetime)returns datetime as --Parameter: UTC datetime --returns: Corresponding local time begin DECLARE @TimeDiff int Declare @dtLocal as datetime --get time difference SET @TimeDiff = DATEDIFF(hh, GETUTCDATE(), GETDATE()) SELECT @dtLocal = DATEADD(HH, @TimeDiff, @dtUtc) return @dtLocal END
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.