time(), 'time'=>date('H:i:s', time()), 'date'=>date('d.m.Y', time()), 'dateTime'=>date('H:i:s, d.m.Y', time()), 'full'=>date('l, d.m.Y, H:i:s', time()), 'hours'=>date('H', time()), 'hours_short'=>date('h', time()), 'minutes'=>date('i', time()), 'seconds'=>date('s', time()), 'day'=>date('d', time()), 'month'=>date('m', time()), 'year'=>date('Y', time()), 'year_short'=>date('y', time()) ); echo json_encode($arr); // {"a":1,"b":2,"c":3,"d":4,"e":5} ?>