Snippets tagged “iso-8601”
7 snippets use this tag.
- How do I convert 2018-04-10T04:00:00.000Z string to DateTime?Java
To convert a string in the format "2018-04-10T04:00:00.000Z" to a DateTime object in Java, you can use the org.joda.time.DateTime class and the DateTimeFormatter class.
- How do I parse an ISO 8601-formatted date?Python
You can use the datetime.fromisoformat() method to parse an ISO 8601-formatted date in Python.
- How to Convert a String into a Date in JavaScriptJavaScript
Read this tutorial and learn the way of converting a string into a Date. Also, read about UTC method, ISO format and much more to get a relevant answer.
- How to display a date as iso 8601 format with PHPPHP
You can use the date() function in PHP to display a date in ISO 8601 format.
- How to get current moment in ISO 8601 format with date, hour, and minute?Java
You can use the Instant class from the Java 8 java.time package to get the current moment in ISO 8601 format with date, hour, and minute.
- The “right” JSON Date FormatJavaScript
Read the tutorial and learn the right methods of JSON date formatting with the help of JavaScript. Get to know information about ISO 8601 string format.
- What is this date format? 2011-08-12T20:17:46.384ZJava
The date format "2011-08-12T20:17:46.384Z" is an ISO 8601 extended format, which is often used for exchanging date and time information in a machine-readable format.