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 -> Re: Date Functions

Re: Date Functions

From: Jan Gelbrich <j_gelbrich_at_westfalen-blatt.de>
Date: Mon, 17 Feb 2003 09:04:26 +0100
Message-ID: <b2q54m$1ej0p1$1@ID-152732.news.dfncis.de>


Hi

if You are using Oracle ...

cTime := TO_CHAR(my_date,'dd.mm.yyyy hh24:mi:ss'); dbms_output.put_line(cTime);

hth

Jan

"--B" <akshard_at_vsnl.com> schrieb im Newsbeitrag news:oo04a.23982$Vf3.273959_at_vixen.cso.uiuc.edu...
> Hi,
>
> I have a date column having value like '1/1/1900 2:30:00 PM'.
> Is there an easy way to get time in 24hr scale using some functions, for
> above example it should return '14:30'?
>
> Thanks,
>
> Akshar
>
>
Received on Mon Feb 17 2003 - 02:04:26 CST

Original text of this message

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