API Documentation
POST
/api/v1/timestampTimestamp
Convert Unix timestamps to dates and vice versa
converters
Parameters
inputstring|numberTimestamp or date string
actionstring'toDate', 'toTimestamp', or 'now'
Default: now
unitstring'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