time-1.9.3: A time library
Safe Haskell Safe-Inferred
Language Haskell2010

Data.Time.Clock.System

Description

Fast access to the system clock.

Synopsis

Documentation

systemEpochDay :: Day Source #

The day of the epoch of SystemTime , 1970-01-01

truncateSystemTimeLeapSecond :: SystemTime -> SystemTime Source #

Map leap-second values to the start of the following second. The resulting systemNanoseconds will always be in the range 0 to 1E9-1.

getSystemTime :: IO SystemTime Source #

Get the system time, epoch start of 1970 UTC, leap-seconds ignored. getSystemTime is typically much faster than getCurrentTime .