W3cubDocs

/Crystal

module Time::Format::ISO_8601_DATE_TIME

Overview

The ISO 8601 date time format.

Defined in:

time/format/custom/iso_8601.cr

Class Method Summary

Class Method Detail

def self.format(time : Time, io : IO)Source

Formats a Time into the given io.

def self.format(time : Time)Source

Formats a Time into a String.

def self.parse(string, location : Time::Location? = Time::Location::UTC) : TimeSource

Parses a string into a Time.

© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Time/Format/ISO_8601_DATE_TIME.html