Get the current elapsed seconds since epoch
Modulehourglass-0.2.12Haskell2010
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
- Packagehourglass-0.2.12
- Exports6
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceSystem.hs
Current time in computer friendly format
Get the current elapsed seconds (precise to the nanosecond) since epoch
Current time in human friendly DateTime 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 include daylight saving time when in operation.