Portability | Linux |
---|---|
Stability | testing |
Maintainer | ongy |
Safe Haskell | None |
- data TimeHandle
- getTime :: TimeHandle -> IO String
- getHM :: TimeHandle -> IO (Int, Int)
- getTimeHandle :: String -> IO TimeHandle
Documentation
data TimeHandle Source
The handle exported by this module.
getTime :: TimeHandle -> IO StringSource
Get the current time in the format given to the handle.
getHM :: TimeHandle -> IO (Int, Int)Source
Get the current time (HH:MM) format for the current time zone.
:: String | The format that should be used for |
-> IO TimeHandle |
Get a handle for this module