Safe Haskell | Safe-Infered |
---|
Data.Time.Git
- approxidate :: String -> Maybe Integer
- approxidateUTC :: String -> Maybe UTCTime
Documentation
approxidate :: String -> Maybe IntegerSource
Parse a date/time string and return Just a Unix timestamp. Return Nothing if the string could not be interpreted. If no timezone is in the string, the local timezone is used.
approxidateUTC :: String -> Maybe UTCTimeSource
The same as approxidate, but returns a UTCTime instead of a raw timestamp.