hora-1.0.3: date time

Safe HaskellNone
LanguageHaskell2010

Data.Time.Hora.Timestamp

Contents

Synopsis

numerical

now :: IO (Tz DmyHmp) Source #

time with Pico in current timezone

>>> now
Tz CET (DmyHm {day = 12, month = 12, year = 2016, hour = 19, minute = 33},15.546562180000)

string

t :: IO String Source #

timestamp

second.fraction. UTC

>>> t
14:41:29.785834836

t' :: IO String Source #

timestamp

second.fraction. UTC

>>> t'
14:41:29 .785834836

dt :: IO String Source #

date, time (to second) UTC

>>> dt
2016-12-12 14:43:13

d :: IO (Tz String) Source #

date stamp yyyymmdd

local timezone

>>> d
Tz CET "20161212"