Hello all
i use this..
$enddate= 20060101000000;
$year = substr($enddate, 0, 4);
$month = substr($enddate, 4, 2);
$day = substr($enddate, 6, 2);
$hour = substr($enddate, 8, 2);
$minute = substr($enddate, 10, 2);
$second = substr($enddate, 12, 2);
to brake a timetamp(14) date stored in my database(20060101000000)
but the result im taking is nor correct.
What i m doing wrong??