This simple web service just returns a current date and time in selected timezone.

http://tools.aimylogic.com/api/now?tz=Europe/London&format=yyyy-MM-dd

You can use this URL in your HTTP Request block to obtain current date/time and do some useful things.

Parameters

There are two parameters in this URL you can configure.

tz - a timezone code (you can find all codes here)

format - a date/time string format (please refer to the syntax)

Response

This web service responds with JSON object like this

{
"timezone": "Europe/London",
"formatted": "2018-10-02",
"timestamp": 1538491733968,
"weekDay": 2,
"day": 2,
"month": 10,
"year": 2018,
"hour": 15,
"minute": 48
}
Was this article helpful?
Thank you!