Magicloud Magiclouds magicloud.magiclo...@gmail.com writes:
Hi,
I am working on some calendar GUI thing. And I cannot find a library
to operate the date.
Like, when `now - getZonedTime`, how could I get all the dates of
the week. Or when I got `today`, how to get the date of 10 days ago?
Hello Jon,
Monday, March 2, 2009, 2:22:55 PM, you wrote:
take 10 $ map (addDays (-1)) $ repeat $ utctDay $ zonedTimeToUTC now
take 10 $ iterate (addDays (-1)) $ utctDay $ zonedTimeToUTC now
--
Best regards,
Bulatmailto:bulat.zigans...@gmail.com
Bulat Ziganshin bulat.zigans...@gmail.com writes:
Hello Jon,
Monday, March 2, 2009, 2:22:55 PM, you wrote:
take 10 $ map (addDays (-1)) $ repeat $ utctDay $ zonedTimeToUTC now
take 10 $ iterate (addDays (-1)) $ utctDay $ zonedTimeToUTC now
take anything I post before 14:00 with a pinch of