date_format
From: luke (growler8_at_hotmail.com)
Date: 01/27/04
- Next message: Tim Van Wassenhove: "Re: security and image upload folder"
- Previous message: Daniel Howells: "Ingenius bulk photo upload ideas..."
- Next in thread: Geoff Muldoon: "Re: date_format"
- Reply: Geoff Muldoon: "Re: date_format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Jan 2004 12:12:42 -0000
I have some data in an oracle database which has a data type of DATE and the
dates are stored as 2004-01-20 17:43:49.0
When I get that information via PHP it outputs as 27-JAN-04
Does anyone know how to change this format as I want the time displayed as
well? I have tried an SQL statement of
SELECT DATE_FORMAT(date_column, '%l %i %m %d %y') but this doesn't seem to
work with an Oracle thin client.
Does anyone know an alternative (perhaps using the date() function???) or is
there a standard date setting you can change so everything outputs with the
time showing?
- Next message: Tim Van Wassenhove: "Re: security and image upload folder"
- Previous message: Daniel Howells: "Ingenius bulk photo upload ideas..."
- Next in thread: Geoff Muldoon: "Re: date_format"
- Reply: Geoff Muldoon: "Re: date_format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|