Get the current number of non-leap seconds elapsed since the Unix epoch.
Moduletime-hourglass-0.3.0Haskell2010
Time.System
Get the system timezone and current time value in multiple formats.
Contents
Synopsis
- value timeCurrent
- value timeCurrentP
- value dateCurrent
- value localDateCurrent
- value localDateCurrentAt
- value timezoneCurrent
- Packagetime-hourglass-0.3.0
- Exports6
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceSystem.hs
Current time, in computer-friendly format
Get the current number of non-leap seconds and nanoseconds since the Unix epoch (1970-01-01 00:00:00 UTC).
Current time, in human-friendly format
Get the current global date.
This is equivalent to:
timeGetDateTimeOfDay `fmap` timeCurrentPGet the localized date by using timezoneCurrent and dateCurrent.
Get the localized date at a specific timezone offset.
System timezone
Get the current timezone offset.
This includes daylight saving time when it is in operation.