Posted by Kim Andrι Akerψ on 07/25/06 13:55
Bob Sanderson wrote:
> I have a field in a database called DateRcvd. At present, it outputs
> in my report in the yyyy-mm-dd format. I would like it to display in
> the dd/mm/yy format. What is the easiest way to accomplish this?
You could reformat it using PHP:
echo date("d/m/y",strtotime($row["DateRcvd"]));
http://php.net/date
http://php.net/strtotime
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|