| View previous topic :: View next topic |
| Author |
Message |
TimeRider Voice
Joined: 07 Jul 2020 Posts: 13
|
Posted: Mon Nov 08, 2021 8:00 pm Post subject: Time zone script |
|
|
Hello guys! I searched many TCL scripts for time zone but no one of them seems to be working or updated.
I would like to request a simple time zone script like;
| Code: | !time city / country
for ex: !time nepal |
And it would retrieve the time zone of the country Nepal.
Thank you!
Best Regards,
TimeRider _________________ Nepal chat
India chat
Pakistan chat
Indian chat |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Tue Nov 09, 2021 5:03 am Post subject: |
|
|
It's probably possible to create a script, but it will need a huge database: timezone by cities (https://raw.githubusercontent.com/kevinroberts/city-timezones/master/data/cityMap.json) and offset by timezone (http://www.iana.org/time-zones) to get the local time. _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
|