On 24 June 2010 10:52, Luca Ciciriello <luca_ciciriello@hotmail.com> wrote:
Just a question.
How can I obtain a String from
currentTime :: IO Day
currentTime = utctDay `fmap` getCurrentTime
Here currentTime returns to me 2010-06-24, but I want "2010-06-24".
In another worlds I need a function
currentTimeStr :: IO Day -> String
Any Idea?
Luca.