Re: accurate time of Date in SQLTemplate

From: Alan Guo (AGU..ndependenthealth.com)
Date: Mon May 23 2005 - 13:50:10 EDT

  • Next message: Andrus Adamchik: "Re: Having Problem with 1 to 1 relationship"

    It is java.util.Date

    CONFIDENTIALITY NOTICE. This e-mail and attachments, if any, may contain confidential information which is privileged and protected from disclosure by Federal and State confidentiality laws, rules or regulations. This e-mail and attachments, if any, are intended for the designated addressee only . If you are not the designated addressee, you are hereby notified that any disclosure, copying, or distribution of this e-mail and its attachments, if any, may be unlawful and may subject you to legal consequences. If you have received this e-mail and attachments in error, please contact Independent Health immediately at (716) 631-3001 and delete the e-mail and its attachments from your computer. Thank you for your attention.

    >>> mkienen..laska.net 05/23/05 01:47PM >>>
    Alan Guo <AGU..ndependenthealth.com> wrote:
    > I just use the function in Oracle as following:
    > Date ddd1 = (Date)dw.get(idkey);
    >
    > What I found out is that hour and minute are not right from the accural
    time in DB.

    Is this a java.sql.Date or a java.util.Date?

    java.sql.Date doesn't track hours and minutes.



    This archive was generated by hypermail 2.0.0 : Mon May 23 2005 - 13:50:33 EDT