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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to find Timezone in Pl/SQL?

Re: How to find Timezone in Pl/SQL?

From: Nora & Eric <nirkeen_at_saber.net>
Date: 2000/03/21
Message-ID: <sdgkte4hlul61@corp.supernews.com>#1/1

Risudi wrote in message <20000321152807.01950.00007795_at_ng-dc1.aol.com>...
>In PL/SQL, is their a way to retreive the 'timezone' of the
>machine the database is stored on.
>
>(version 8.1.5 on a Sun Sparc box)
>
>Rick
>risudi_at_aol.com
>
>

Hook the PL/SQL call to a Java Stored Procedure (something like this)

import java.util.TimeZone;

class LocalTimeZone {

   String ID = System.getProperty("user.timezone"); ...... Received on Tue Mar 21 2000 - 00:00:00 CST

Original text of this message

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