Skip to content

Usage: TheTimeBot

Camilo Sperberg edited this page Jan 8, 2017 · 7 revisions

This bot will give you accurate information about the time and offset of a certain timezone for the selected location (works on phone only) or the given timezone identifier.

General usage

  • Open a new chat window to TheTimeBot.
  • Fill in the command /get [TIMEZONE-IDENTIFIER] where [TIMEZONE-IDENTIFIER] is one of the following. Examples:
    • /get Europe/Amsterdam to get the timezone information for Amsterdam, the Netherlands
    • /get America/Santiago to get the timezone information for Santiago, Chile.
  • If you are on your phone, you can also send a location.

Interpretation of output

If everything is ok, the bot will give you an answer in the line of:

The date & time in America/Santiago is now Nov 14, 2016 10:05:57 PM; Offset: -3 hours

This string gives away several pieces of information. The first one is that is has recognized a valid timezone, in the example known as "America/Santiago". It will then display the current time in that timezone, and lastly, what the offset according to UTC is. In case of Santiago de Chile in the example, the offset is -3 hours, which means that if you rest 3 hours from the UTC time, you will get the current time in Santiago de Chile.

Available commands

The following list of commands are enabled for this bot:

  • /start: General instructions
  • /help: Alias of /start
  • /get_time_for_timezone [TIMEZONE-IDENTIFIER]: Gets the timezone information for the given timezone id
  • /get: Alias of /get_time_for_timezone

Future plans

  • Link a user to a certain timezone, to give an output according to the timezone of the user itself.