Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Date Functions
"Lee Fesperman" <firstsql_at_ix.netcom.com> schrieb im Newsbeitrag
news:3E5152FB.4285_at_ix.netcom.com...
> Robert Klemme wrote:
> >
> > "Lee Fesperman" <firstsql_at_ix.netcom.com> schrieb im Newsbeitrag
> > news:3E509498.475D_at_ix.netcom.com..
> > > --B wrote:
> > > >
> > > > 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'?
> > >
> > > For Java 'methods', check java.text.SimpleDateFormat.
> >
> > That's for printing. To directly access the value use a Calendar.
>
> ??? And what method in Calendar will return '14:30'?
Sorry, I should've read more carefully. SimpleDateFormat is ok for your application. I just thought, you wanted single values.
Regards
robert Received on Thu Feb 20 2003 - 03:33:29 CST