Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 How to convert local time to UTC time?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GoodMorningSky
Junior Member

122 Posts

Posted - 16 October 2003 :  11:54:07  Show Profile
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

RebelTech
Average Member

USA
613 Posts

Posted - 16 October 2003 :  12:30:11  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
This not completely what you wanted but it might point in the right direction:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=48336
You can see it live in the link below. (txradio)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07