Date parser
Read a date written in a common human format and return it as ISO 8601 with weekday and week number.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/date-parse \
-H 'Content-Type: application/json' \
-d '{"input":{"text":"March 5, 2026"}}'
import json, urllib.request
body = {'input': {'text': 'March 5, 2026'}}
request = urllib.request.Request("https://setget.net/v1/tools/date-parse", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/date-parse", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"text":"March 5, 2026"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "date-parse",
"input": {
"text": "March 5, 2026"
}
}
{
"input": {
"text": "March 5, 2026"
}
}
Endpoint: POST /v1/tools/date-parse. Over MCP: run_tool with slug: "date-parse".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
text |
string | yes | The date to read, with an optional time. |
day_first |
boolean | no | Read 03/05/2026 as 3 May (day first) instead of 5 March. Default: false. |
Examples
Input
{
"text": "March 5, 2026"
}Result
{
"iso": "2026-03-05",
"date": "2026-03-05",
"time": null,
"utc_offset": null,
"weekday": "Thursday",
"day_of_year": 64,
"iso_week": "2026-W10-4",
"quarter": 1,
"leap_year": false,
"format": "month day year",
"note": null
}Day first
Input
{
"text": "03/05/2026",
"day_first": true
}Result
{
"iso": "2026-05-03",
"date": "2026-05-03",
"time": null,
"utc_offset": null,
"weekday": "Sunday",
"day_of_year": 123,
"iso_week": "2026-W18-7",
"quarter": 2,
"leap_year": false,
"format": "numeric, day first",
"note": null
}An email (RFC 2822) date
Input
{
"text": "Thu, 05 Mar 2026 14:30:00 +0100"
}Result
{
"iso": "2026-03-05T14:30:00+01:00",
"date": "2026-03-05",
"time": "14:30:00",
"utc_offset": "+01:00",
"weekday": "Thursday",
"day_of_year": 64,
"iso_week": "2026-W10-4",
"quarter": 1,
"leap_year": false,
"format": "day month year",
"note": null
}Questions
- Is 03/05/2026 the 5th of March or the 3rd of May?
- It depends on the country. By default the month comes first (5 March). Set day_first to true for the day first style used in most of the world (3 May).
- What if a number cannot be a month?
- In 13/05/2026 the 13 can only be a day, so it is read that way and a note says so.
- Are two-digit years accepted?
- No. "26" could be 1926 or 2026, so write all four digits.
Related tools
- ISO week numberFind the ISO 8601 week number of a date, or the Monday to Sunday date range of a given week.
iso-week - Unix timestamp converterConvert a Unix timestamp to a date, or a date to a Unix timestamp, in seconds and milliseconds.
unix-timestamp - Date difference calculatorFind the time between two dates: total days, weeks, hours, minutes and seconds, plus years, months and days.
date-diff - Add or subtract time from a dateAdd or subtract years, months, weeks, days, hours and minutes from a date and get the resulting date.
date-add - Age calculatorWork out an exact age in years, months and days on a given date, plus the next birthday.
age-calculator - Aspect ratio calculatorSimplify a width and height to a ratio such as 16:9, and scale to a new width or height.
aspect-ratio