This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Time zone script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
User avatar
TimeRider
Voice
Posts: 32
Joined: Tue Jul 07, 2020 3:46 pm
Contact:

Time zone script

Post by TimeRider »

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: Select all

!time city / country
for ex: !time nepal
And it would retrieve the time zone of the country Nepal.

Thank you!

Best Regards,
TimeRider
User avatar
CrazyCat
Revered One
Posts: 1236
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

It's probably possible to create a script, but it will need a huge database: timezone by cities (https://raw.githubusercontent.com/kevin ... tyMap.json) and offset by timezone (http://www.iana.org/time-zones) to get the local time.
Post Reply