[Haskell-cafe] Re: How to work with date?

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Mar 2 06:28:06 EST 2009


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,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list