View Single Post
Old 07-25-2011, 11:53 AM
arwar arwar is offline
Join Date: May 2010
Posts: 31
Default time zone conversion

okay i have a time say 10:23 AM that is EasternDaylightTime, but will be EST after the fall behind change. what i am looking for is an elegant solution to converting that time to the user's local time (as reported by systemtime on his PC). the actual end result is that i need to determine whether or not it is later than the 10:23 AM. so i either need to convert the user's systemtime to eastern or vice versa. probably the better choice (since it will display on the user's screen) is to convert the EDT (10:23) to user's local. is there a way to get the window's setting for the user's time zone? any ideas will be appreciated.
Reply With Quote