Esteban A. Maringolo wrote
> Ej, which one of the followings is OK?
> '2012-02-29' asDate + 1 year  "=> 2013-02-28"
> '2011-03-01' asDate + 1 year "=> 2012-02-29"

One solution (just ignore the source ha ha) -
http://msdn.microsoft.com/en-us/library/system.datetime.addyears%28v=vs.110%29.aspx
 



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Duration-year-tp4791727p4793656.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to