ghareeb Posted June 9, 2005 Share Posted June 9, 2005 how can i convert local time to GMT time by using small script code? i know it is easy to make it but i can't do it!!!!!! thanks Are you read anything about islamok.... to know about realy Islamhttp://www.islam-guide.com click here====>Islam: Misunderstood throughout the World Link to comment Share on other sites More sharing options...
gamerman2360 Posted June 9, 2005 Share Posted June 9, 2005 (edited) you mean on your PC clock, on a text file, or just to have something popup and say what GMT time it is? [edit] also would you want it in a tool tip, message box, splach screen, ect...? [edit] also do you want the 12 or 24 hour format? Edited June 9, 2005 by gamerman2360 Link to comment Share on other sites More sharing options...
/dev/null Posted June 9, 2005 Share Posted June 9, 2005 Use _DateAdd() to add or subtract some hours to get GMT. __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
ghareeb Posted June 9, 2005 Author Share Posted June 9, 2005 (edited) you mean on your PC clock, on a text file, or just to have something popup and say what GMT time it is?<{POST_SNAPBACK}>yes to have something popup and say what GMT time it is? Edited June 9, 2005 by ghareeb Are you read anything about islamok.... to know about realy Islamhttp://www.islam-guide.com click here====>Islam: Misunderstood throughout the World Link to comment Share on other sites More sharing options...
Westi Posted June 9, 2005 Share Posted June 9, 2005 Load http://ntp.greenwichmeantime.com/time/time2.php in an AutoIt window. Link to comment Share on other sites More sharing options...
gamerman2360 Posted June 9, 2005 Share Posted June 9, 2005 tooltip? 12 or 24 hours? if you want a tooltip, do it want it to refreash? and where do you want to put it? upper left corner? Link to comment Share on other sites More sharing options...
gamerman2360 Posted June 9, 2005 Share Posted June 9, 2005 Id just do this, but i dont have you time zone (or know how to find it using auto it) so it could be wrong. HotKeySet("{ESC}", "Terminate") While 1 Sleep(1000) Tooltip("GMT " & @hour + -6 & ":" & @min, 10, 10) WEnd Func Terminate() Exit EndFunc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now