Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Time utils useful for writing buildbots.
Synopsis
Documentation
module Data.Time
readLocalTimeOfDayAsUTC :: String -> IO TimeOfDay Source #
Read a time of day string like 17:34:05
in the local time zone
and convert that to a UTC time of day. Good for parsing command line args to buildbots.
getStampyTime :: IO String Source #
Get a local time stamp with format YYYYMMDD_HHMMSS. Good for naming files with.