how to split the stirng(02-02-2009 13:24:27)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<?php

$input = "01-31-2009 13:24:27";
$output = substr($input,0,-3);
echo $output;

?>


That'll do the job :)


Bill.













[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux