A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Aug 02, 2006
Sep 01, 2006 00:00:00
I have two Date objects that has the time part (hh:mi)also set and would like to compare the date part (DD/MM/YYYY) alone without taking into consideration the time (hh:mi) part. Could you please let me know the best way to do it? Many thanks.
Joined: Feb 13, 2004
Sep 01, 2006 00:30:00
I agree. Here's the link:
subject: Date Comparison
Insert Date With Time Prepared Stament...?
java.util.Date does it contain information about hours?
mm-dd-yy hh:mi - dateTime format (xs:dateTime)
identify resultset modified by the database.
Using setDate(column,Date) to insert date in sybase database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014