Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
import Gmt from 'gmt-typescript-sdk'; const client = new Gmt(); const response = await client.service.getServerTime(); console.log(response.epochMs);
{ "iso": "2024-01-15T12:00:00.000Z", "epochMs": 1705320000000, "timezone": "UTC" }
Useful for client synchronization and checking clock drift.
Successful response.
Current server time in ISO 8601 format.
"2024-01-15T12:00:00.000Z"
Current server time in milliseconds since Unix epoch.
0 <= x <= 9007199254740991
1705320000000
Server timezone.
"UTC"