A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
getting first and last date of past 6 months?
Joined: Feb 02, 2011
Feb 10, 2011 23:20:56
i want to get the first date and last date of the past 6 months.
for each month the first and last date is needed.
any idea please?
Joined: Dec 07, 2010
Feb 10, 2011 23:46:50
Did you check out with Date class.....?
Date class has various methods that may serve your purpose.
Your question is not clear to me but to the extent i understand.
author & internet detective
Joined: May 26, 2003
Feb 11, 2011 10:06:05
Do you need to this in SQL? It's easier to use the Calendar class in Java and pass it into your query.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: getting first and last date of past 6 months?
Compatability Package for Tomcat5.5?
Comparing 2 dates
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014