Link to home
Start Free TrialLog in
Avatar of staleb
staleb

asked on

Get Time in Timezone sql

Hi
Is there a way to get the local time for a spesific timezone in sql.
Like in C# I use:
"TimeZoneInfo.ConvertTimeBySystemTimeZoneId(DateTime.Now, "GMT Standard Time")"
Avatar of Aneesh
Aneesh
Flag of Canada image

getUTCTime() gets the  GMT time
Avatar of staleb
staleb

ASKER

What about different Timezones? I used GMT standardTime as an example
ASKER CERTIFIED SOLUTION
Avatar of Aneesh
Aneesh
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of staleb

ASKER

Tnx, perfect