Re: [PHP] how to format a date variable

2001-05-17 Thread Fredrik de Vibe
Carlos Fernando Scheidecker Antunes wrote: > If I issue the comand date(d."/".m."/".Y." ".H.":".i.":".s) > I get the Today's date and time formated accordingly. Don't you want to put the letters inside the quotes? > So what I need is to format variable $OrderDate to Day/Month/year Hour:Min:Sec.

[PHP] how to format a date variable

2001-05-17 Thread Carlos Fernando Scheidecker Antunes
Hello All, If I issue the comand date(d."/".m."/".Y." ".H.":".i.":".s) I get the Today's date and time formated accordingly. I can do the same with MySQL by using an internal function on the SQL select statement. I've got a variable that is a MySQL native Date field but it was not and cannot be