A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Extracting months from Date object data
Joined: Feb 11, 2007
Feb 15, 2007 00:07:00
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.
Joined: Sep 28, 2004
Feb 15, 2007 01:44:00
Just google for it you will get a lot of code snippets like
[ February 15, 2007: Message edited by: Srinivasa Raghavan ]
Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
I agree. Here's the link:
subject: Extracting months from Date object data
how do I find date difference in months
delete logfiles that are older than 3 months
Difference beteween two dates
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013