• Post Reply Bookmark Topic Watch Topic
  • New Topic

add periods to dates  RSS feed

 
Cesar Tg.
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all!

I'd like to know if there is an API or function that allows me to add periods of time in the way of years,months and days to a date, for instance

add 25 years, 13 months, 50 days to the date 01/10/2007, and it provides me
the result in format dd/mm/yyyy

Any hint???, what apis could i use?

Thanks!
 
Ajay Singh
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use Calendar.add to add and
DateFormat to format
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!