Struct chrono::offset::utc::UTC
[−]
[src]
pub struct UTC;
The UTC time zone. This is the most efficient time zone when you don't need the local time. It is also used as an offset (which is also a dummy type).
Methods
impl UTC
fn today() -> Date<UTC>
Returns a Date
which corresponds to the current date.
fn now() -> DateTime<UTC>
Returns a DateTime
which corresponds to the current date.