System.PosixCompat.Time

unix-compat-0.3.0.1: Portable POSIX-compatibility layer.

Safe Haskell | Safe-Infered

System.PosixCompat.Time

Description

This module makes the operations exported by `System.Posix.Time` available on all platforms. On POSIX systems it re-exports operations from `System.Posix.Time`, on other platforms it emulates the operations as far as possible.

Synopsis

- epochTime :: IO EpochTime

# Documentation

epochTime :: IO EpochTime

`epochTime` calls `time` to obtain the number of seconds that have elapsed since the epoch (Jan 01 00:00:00 GMT 1970).