function parseTimestamp($time) {
        return array(
            (int)date('i',$time),//minute
            (int)date('H',$time),//hour
            (int)date('d',$time),//day of month
            (int)date('m',$time),//month
            (int)date('w',$time),//day of week
        );
    }
function parseTimestamp($time) {
        return array(
            (int)date('i',$time),//minute
            (int)date('H',$time),//hour
            (int)date('d',$time),//day of month
            (int)date('m',$time),//month
            (int)date('w',$time),//day of week
        );
    }
function parseTimestamp ( $ time ) { return array ( ( int ) date ( 'i' , $ time ) , //minute ( int ) date ( 'H' , $ time ) , //hour ( int ) date ( 'd' , $ time ) , //day of month ( int ) date ( 'm' , $ time ) , //month ( int ) date ( 'w' , $ time ) , //day of week ) ; }
Parse a timestamp
@param int $time
@return array
Parse a timestamp