Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> loadjava
Hi everybody,
I am using the following function to return the time in milliseconds.
public static String getTimestamp()
{ return (new Timestamp(System.currentTimeMillis())).toString(); }
When using this function in oracle( 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 Fri Aug 31 2001 - 10:26:15 CDT