Simple multizone timezone clock
Maiko
26/03/24 04:20 PM
Hello .
I am trying to make a simple multi-zone time zone clock , that will display in a channel when requested with a !time command given in a channel .
Example : Bot The time here is 07:00:00
Bot The time ahead of here is 8:00:00
I have got one line to work ,but not the other .
on *:TEXT:!time:#:{
timer 1 1 msg $chan The Time here is $time(hh:nn:ss T)
timer 1 2 msg $chan The Time ahead of here is ( $calc ( $time + 60 ) )(hh:nn:ss T )
}
I am gonna to guess that it isn't that simple as just adding 60 , as in 60 minutes , to the $time .
I have tired to look for other timezone topic but not having alot of luck with their coding in the posts .
Thank you in advance .