Date format converter
The same date can be written in many different ways: generate the exact format you need without switching tools.
Workspace · Date format converter
Elige una fecha y una hora válidas.
How to use it
Enter the date and time, and select the time zone in which they are shown.
Check the ISO, Spanish, RFC and Unix output formats, or write your own pattern.
Copy the template you need for an API, a database or a document.
Examples
API
Convert 22/10/2026 18:30 to 2026-10-22T18:30:00+02:00.
Database
Get the Unix timestamp and store it as an integer.
Document
Generate ‘Thursday, 22 October 2026’ for a front page.
What you need to know
The conversion takes the local time in the selected area as its starting point and calculates the corresponding UTC time. This avoids errors when the date falls close to a change in summer time.
Custom templates support YYYY, YY, MM, DD, HH, mm, ss and Z. This is not a full-featured format engine: if you need month names or regions, use the predefined outputs.
Frequently Asked Questions
Related tools
Other tools that can help with similar tasks.
Unix timestamp converter
Converts Unix timestamps to dates and dates to timestamps.
Time zone converter
Converts a date and time between two IANA time zones, taking daylight saving time into account.
Week number and day of the year
Calculates the ISO week, the day of the year, the quarter, and the Monday and Sunday of the week.
