Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Please Help!
You must use the "new_time" function to convert GMT time to another...
new_time(x,y,z) : Returns the current date and time for date x in time zone y as it would be in time zone z.
Sample :
SELECT TO_CHAR(NEW_TIME(TO_DATE(‘15-MAR-1998 14:35:00’, ‘DD-MON-YYYY HH24:MI:SS’),‘AST’,‘GMT’) FROM DUAL; NEXT_DAY(‘15-MAR-9
> hi,
>
> May l know what's the function to convert the GMT time
>
> to Singapore's time (Local time).
>
> Thanks
>
> --
> With regards
> Steven
>
> Steven Koh, Internet Software Engineer,
> Mediaworks, Pacific Internet Pte. Ltd.,
> 77 Science Park Drive, 04-09/12
> Cintech III, Singapore Science Park,
> Singapore 118256.
>
> Tel: (65) 7711305;
> Fax: (65) 8728523
> www.mediaworks.com.sg, www.pacific.net.sg
--
\\\|||/// / ^ ^ \ ( 0 0 )