Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> loadjava

loadjava

From: Prateek <prateek_kakkar_at_hotmail.com>
Date: 1 Sep 2001 23:36:34 -0700
Message-ID: <d485b627.0109012236.63dcbe63@posting.google.com>


Hi everybody,

I am using the following function in java to return the time in milliseconds.

public static String getTimestamp()

         {
           return (new
Timestamp(System.currentTimeMillis())).toString();
         }

When using this function in oracle(v8i-1.6)( using loadjava) , i am getting the time in milliseconds but that is GMT and not the system time. What could be the source of error.

Prateek Received on Sun Sep 02 2001 - 01:36:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US