Developer Tools
Unix Timestamp Converter
unix-timestamp-converter
Use Unix Timestamp Converter through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · Headless
Quick actions
Input files 0Output files 0
Input
Accepted input contract for this Tool.
| Kind | data |
|---|---|
| File count | 0 – 0 |
| Accepted MIME types | None |
Parameters
Pass these values through request.options.
| Parameter | Type | Required | Default | Allowed / Range | Description |
|---|---|---|---|---|---|
direction |
enum | Optional | timestamp-to-date |
timestamp-to-date | date-to-timestamp | Convert timestamp to date or date to timestamp. |
value |
string | Required | — | — | Unix seconds/milliseconds or a date/time string. |
Output
Result contract returned after successful processing.
| Type | data |
|---|---|
| File count | 0 – 0 |
| MIME types | None |
| Metadata | direction, seconds, milliseconds |
| ZIP archive | No |
Basic usage
Choose a supported integration mode and copy the generated starter code.
Headless
const result = await client.run("unix-timestamp-converter", {
options: { direction: "timestamp-to-date", value: "value" }
});
console.log(result.files, result.data, result.metadata);
Embedded
await client.mount({ tool: "unix-timestamp-converter", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.