Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Extracting months from Date object data  RSS feed

 
shobhendra srivastava
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.

I have 2 dates stored in the Date Objects.
I need to find the no of months between the the two dates.
Can anyone help me as to how to achieve this.
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just google for it you will get a lot of code snippets like this and like
this
[ February 15, 2007: Message edited by: Srinivasa Raghavan ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!