mIRC Home    About    Download    Register    News    Help

Print Thread
#70742 08/02/04 08:54 PM
Joined: Dec 2002
Posts: 94
K
krunch Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Dec 2002
Posts: 94
ive gone dumb from beer!
i cant think how to make the inners of a script to display different timezones

using $asctime or something along them lines
dont want to use socketsto connect to a worldtime site


Lets get dirty
#70743 08/02/04 09:23 PM
Joined: Dec 2003
Posts: 219
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2003
Posts: 219
Hi!

You can use $ctime (unix timestamp) adding/substr 3600 for incrementing/decr GMTs.

For e.j., $calc($ctime + 3600) is GMT+1 (if you're in London)
+7200 is GMT+2
etc...

#70744 10/02/04 10:56 AM
Joined: Dec 2002
Posts: 94
K
krunch Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Dec 2002
Posts: 94
cheers bro

....one more thing.... u would'nt know where i can get a list of all the gmt+* ?


Lets get dirty
#70745 10/02/04 11:14 AM
Joined: Dec 2003
Posts: 219
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2003
Posts: 219
mmmmm....

Using the Windows time and date properties in the taskbar, you have the whole list.


Link Copied to Clipboard