monky-2.1.0.0: A system state collecting library and application

PortabilityLinux
Stabilitytesting
Maintainerongy
Safe HaskellNone

Monky.Time

Description

 

Synopsis

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.

getTimeHandleSource

Arguments

:: String

The format that should be used for getTime in strftime format

-> IO TimeHandle 

Get a handle for this module