digy.
Example Notes / A small technical notebook

Small details.
Useful answers.

A reference shelf for the everyday web: HTTP responses, time formats, and little tools that do one thing well.

01

Field notes

Networking / Quick reference

What did the server say?

An HTTP status describes the result of a request, not necessarily the health of the whole application. Start with the code, then read the response.

CodeMeaning
200OKThe request succeeded.
301Moved PermanentlyUse the URL in the Location header.
304Not ModifiedReuse the cached representation.
400Bad RequestCheck the request syntax and parameters.
401UnauthorizedValid authentication credentials are needed.
403ForbiddenThe server refuses to allow this request.
404Not FoundNo representation was found, or disclosed.
429Too Many RequestsSlow down; check for a Retry-After header.
502Bad GatewayA gateway received an invalid upstream response.
503Service UnavailableThe service cannot handle the request right now.
Time / Practical conventions

One instant, several formats.

A timestamp only becomes useful when its unit and time zone are clear. Keep machine-readable values explicit; format for people at the edge.

Unix timestamp · seconds
Seconds since 1970-01-01 00:00:00 UTC, ignoring leap seconds.1704067200
JavaScript timestamp · milliseconds
The same instant, with a different unit. JavaScript Date uses milliseconds.1704067200000
ISO 8601 · explicit UTC
The trailing Z means UTC, not your computer's local time.2024-01-01T00:00:00Z
ISO 8601 · explicit offset
This is still the same instant, expressed three hours ahead of UTC.2024-01-01T03:00:00+03:00

Avoid ambiguous dates such as 01/02/2024. For logs and data exchange, include the year, month, day, and a time-zone designator.

Try the timestamp converter →
02

Workbench

Timestamp ↔ UTC

Runs locally in your browser. No data is sent.

Whole seconds, not milliseconds. Negative values are supported.

2024-01-01T00:00:00.000Z

YYYY-MM-DDTHH:mm:ss · always interpreted as UTC.

1704067200 seconds
03 / Colophon

Less, but useful.

Digy is a small collection of technical notes and browser utilities. The aim is simple: keep the details that are easy to forget somewhere easy to find.

This page has no external fonts, analytics scripts, or third-party widgets. The converter works entirely in your browser and does not store your input.

Back to the notes ↑