◆ Recipe · 2 steps
Put a timestamp in a URL
Convert a date or Unix time to seconds, then percent-encode the value for a query string or callback URL.
Why this recipe exists. A timestamp in a link has to be plain ASCII and unambiguous. Converting first and encoding second means the receiver gets the exact seconds you meant, with no locale or spacing surprises.
01 Sequence
The steps
Each step is a live tool. Open it, do the work, then send the result on.
-
Paste a date or Unix time and read the Unix seconds.
Send result carries this value to the next step.
TEXT feeds URL Encoder & Decoder
-
Encode the timestamp (or a URL that contains it) for a query string.
Send result carries this value to the next step.
02 Proof
A real run
Run by hand in a browser — the same input and output you get here.
Input Value
Starting input
2023-11-14T22:13:20Z
Step 1 · Timestamp Converter
1700000000
Step 2 · URL Encoder & Decoder
1700000000
03 Edges
If it breaks
One concrete edge case per step.
- Timestamp Converter: A value like “hello” shows “That is not a Unix timestamp or a date Astra can read.”
- URL Encoder & Decoder: An incomplete percent escape such as “%2” shows “That percent escape is incomplete. Every % must be followed by two hex digits, like %20.”