[Haskell-cafe] Data.Time is so weak ?!

zaxis z_axis at 163.com
Mon Aug 31 01:37:23 EDT 2009


addDays 150 (fromGregorian 2009 8 31) will work. However, how can i get its
weekday from the result ?

thanks!


zaxis wrote:
> 
> today = fromGregorian 2009 8 31
> 
> then how to calculate the day passing 150 days ?
> 
> today + 150 doesnot work !
> 

-- 
View this message in context: http://www.nabble.com/Data.Time-is-so-weak--%21-tp25218462p25218554.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list