Fernando
|
Posted: 12/04/2003, 6:55 AM |
|
Hi, i need help ..
i'm using this code
$flddatetime= date ("d-m-Y h:i a",$fldpunto);
but the result not is correct..
for example
$fldpunto = "20031203122851" ---->(result) = $flddatetime="19-01-2038 12:14 am"
if anyone know how can i modify my code to get a right datetime, please response my message.!!
|
|
|
Tim
|
Posted: 12/04/2003, 3:58 PM |
|
Hi Fernando,
I think the variable $fldpunto has to be a valid Unix timestamp for date to work. Check out the mktime() function.
Tim
|
|
|
|