|
> I am reading this time field using > resultSet.getTime() method from SQL, > but when the field value is 24:00:00 , i get > java.sql.Time as 00:00:00, which is start of day and > not end of day > So if the date field is 10-10-03 and time is field is > 24:00:00 then actually it is end of day, but when i > field a timestamp field i get it is as start of day > is there any work around for solving this problem Yes, understand that there is no such time as 24:00:00 ! You will never see a digital 24hour clock show 24:00:00 23:59:59.99 is the 'end of day', '24:00:00' = 00:00:00 is the start of the day. --phil
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.