[PHP-DB] TIME FORMAT USING PHP

2003-10-10 Thread Delz
Hi All, We have a time and attendance system that outputs the military time in and time out of an employee on an excel file wherein the format for the time is like this : 0900 1700 wherein 0900 is 9am and 1700 is 5pm. Is there a way in php where i can get output like this 09:00 17:00 which is

Re: [PHP-DB] TIME FORMAT USING PHP

2003-10-11 Thread Ignatius Reilly
$time = "0900" ; $time2 = substr( $time, 0, 2 ).":".substr( $time, 2, 2 ) ; Ignatius _ - Original Message - From: "Delz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 11, 2003 7:17 AM Subject: [PHP-DB