Is there a function in haskell for epoch time in seconds / milliseconds ?
perhaps something similar to java\'s
System.currentTimeMillis(); >
System.currentTimeMillis();
There is also the solution discussed in Real World Haskell:
import System.Time getClockTime >>= (\(TOD sec _) -> return sec)