DevTools.at
API Documentation
POST/api/v1/timestamp

Timestamp

Convert Unix timestamps to dates and vice versa

converters

Parameters

inputstring|number
No

Timestamp or date string

actionstring
No

'toDate', 'toTimestamp', or 'now'

Default: now

unitstring
No

'seconds' or 'milliseconds'

Default: seconds

Example Request

curl -X POST https://devtools.at/api/v1/timestamp \
  -H "Content-Type: application/json" \
  -d '{"input":1700000000,"action":"toDate"}'

Try it out

Test this endpoint directly in your browser

Response
Click "Execute Request" to see the response