Back to DocumentationDocumentation
Time & Utilities
Timestamps, formatted datetimes, UUID generation, countdowns, and batch requests.
Base URL
https://mockly.meReturns the current date/time in ISO, RFC, human, or short format.
Parameters
| Name | Type | Description |
|---|---|---|
format | string | Query param — iso, rfc, human, or short |
tz | string | Query param — timezone (e.g. UTC, US/Eastern) |
Example Response
{
"datetime": "2026-01-01T12:00:00",
"format": "iso",
"timezone": "local"
}Generates a fresh UUID with formatting options.
Parameters
| Name | Type | Description |
|---|---|---|
version | number | Query param — 1 (time-based) or 4 (random) |
uppercase | boolean | Query param — uppercase output |
hyphens | boolean | Query param — include hyphens (default true) |
Example Response
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"version": 4
}Returns multiple time values in one request. Supported keys: timestamp, datetime, uuid, human-time.
https://mockly.me/batchParameters
| Name | Type | Description |
|---|---|---|
requests | string[] | Body — array of request type strings |
Example Response
{
"timestamp": 1704067200,
"datetime": "2026-01-01T12:00:00",
"uuid": "..."
}