haskell-clock/src/Lib.hs

13 lines
165 B
Haskell
Raw Normal View History

2023-02-24 02:06:02 -08:00
module Lib
2023-02-24 02:40:13 -08:00
(
curTimeString
2023-02-24 02:06:02 -08:00
) where
2023-02-24 02:40:13 -08:00
import Data.Time.Clock
curTimeString :: IO String
curTimeString = do
t <- getCurrentTime
return $ show $ t