Ztime parameter: Difference between revisions

From Safe Creative API
Jump to navigation Jump to search
w>Jguillo
No edit summary
w>Jguillo
No edit summary
Line 1: Line 1:
Some functions need a time-Z parameter, that is the GMT or UTC time, expressed as milliseconds from Jan 1, 1970.
Some functions need a time-Z parameter, that is the GMT or UTC time, expressed as milliseconds since January 1, 1970, 00:00:00 GMT.


You can use the [[ztime component]] to get the ztime from the server, so you can adjust the offset of the clock if required.
You can use the [[ztime component]] to get the ztime from the server, so you can adjust the offset of the clock if required.


When you send a ztime parameter in your request, the maximum difference between the server ztime and the request ztime is +-5 seconds
When you send a ztime parameter in your request, the maximum difference between the server ztime and the request ztime is +-5 seconds
January 1, 1970, 00:00:00 GMT

Revision as of 08:08, 4 May 2010

Some functions need a time-Z parameter, that is the GMT or UTC time, expressed as milliseconds since January 1, 1970, 00:00:00 GMT.

You can use the ztime component to get the ztime from the server, so you can adjust the offset of the clock if required.

When you send a ztime parameter in your request, the maximum difference between the server ztime and the request ztime is +-5 seconds

January 1, 1970, 00:00:00 GMT