select lo_date from payperiod;
lo_date
----------------------
1999-12-16 00:00:00-05
1999-12-30 00:00:00-05

lo_date is defined as timestamp.
In PHP3 I retreive the rows and lo_date ends up in $row[2].
echo $row[2], date('D M-j',$row[2]), strftime('%a %b-%d',$row[2]);
yeilds
1999-12-16 00:00:00-05Wed Dec-31Wed Dec-31
1999-12-30 00:00:00-05Wed Dec-31Wed Dec-31 

Is there another function call I need between PSQL and PHP3?

Frank

Reply via email to