G
GG
I have some datetime values in SQL server stored in Eastern time zone.
I need to convert them to GMT.
The pc that I will be running the app has local time zone set to eastern
time.
Is this code enough for the translation to GMT?
DateTime easternDateEime = value from the db;
easternDateEime.ToUniversalTime();
Do I need to worry about daylight savings?
If yes how do we do that?
Thanks
I need to convert them to GMT.
The pc that I will be running the app has local time zone set to eastern
time.
Is this code enough for the translation to GMT?
DateTime easternDateEime = value from the db;
easternDateEime.ToUniversalTime();
Do I need to worry about daylight savings?
If yes how do we do that?
Thanks