GoodMorningSky
Junior Member
 
122 Posts |
Posted - 16 October 2003 : 11:54:07
|
Hi, I want to write module that change local time to UTC time. systime_local is set using User input. state: function use state to findout time difference of timezon from UTC applyDateLightSaving: when True, have to apply it depending on DateLightSaving rule..
Does anyone know this kind of function ? It's ok code is not vb.. I need algorithm..
Public Function GetUTCTime(systime_local As SystemTime, state As String, applyDateLightSaving As Boolean) '-- convert local time to UTC time '-- apply Dailylight saving time
Dim system_utc As SystemTime
'..............
GetUTCTime = system_utc
|
Software Engineer. MCSD.NET, SCWCD |
|