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.
- 6 values
- Packagetime-hourglass-0.3.0
- Exports6
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceSystem.hs
Current time, in computer-friendly format
2 declarationsGet 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
3 declarationsGet 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
1 declarationGet the current timezone offset.
This includes daylight saving time when it is in operation.