Date and Time Conversion Tool
The date and time conversion tool is a practical tool for converting between different date and time formats. It supports various common date and time formats, including ISO 8601, RFC 3339, Unix timestamp, Excel date format, etc. Users can quickly get the desired date and time format by entering the date string.
Common date and time formats
- JS Locale Date String: JavaScript local date string, format varies by region, for example
Sun Oct 01 2023 12:00:00 GMT+0000 (UTC)
. - ISO 8601: An international standard for date and time representation, format is
YYYY-MM-DDTHH:mm:ssZ
, for example2023-10-01T12:00:00Z
. - RFC 3339: A format based on ISO 8601, commonly used in Internet protocols, format is
YYYY-MM-DDTHH:mm:ssZ
. - RFC 7231: A date format used in HTTP protocols, usually
Mon, 01 Oct 2023 12:00:00 GMT
. - Unix timestamp: The number of seconds since January 1, 1970, commonly used in computer systems, format is
1696156800
. - Timestamp: Usually refers to a time stamp in milliseconds, for example
1696156800000
. - UTC format: Coordinated Universal Time format, usually
Sun, 01 Oct 2023 12:00:00 GMT
. - Mongo ObjectID: A unique identifier in MongoDB, containing timestamp information, format is
507f1f77bcf86cd799439011
. - Excel date/time format: The date and time representation in Excel, usually a floating point number, for example
45000.5
represents2023-10-01 12:00:00
.
Usage
- Enter the date string: Enter the date string you want to convert in the input box.
- Select format: Select the date format you entered from the drop-down menu.
- View the result: The tool will automatically display the converted common date and time formats, which you can copy.
Example
- Input:
2023-10-01T12:00:00Z
- Output:
1696156800
Summary
The date and time conversion tool is a powerful tool that can help users easily convert between different date and time formats. Whether you are a developer or a regular user, you can improve your work efficiency through this tool.