- getdate: documentation ( source)
- print_r: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$d = date("Y-m-d H:i:s GMT0004");
print_r(getdate(strtotime($d)));
//echo date('w', strtotime($d->format('Y-m-d')));
//echo date("H:i:s", strtotime($d);