// datefunctions.php
// Some examples of using PHP date functions
The date at the moment is
< ?php echo gmdate("M d Y");
?>
The timezone we are in is: < ?php echo date("T"); ?> The current Greenwich Mean time is (using gmdate() function): < ?php echo gmdate("h : i : s: A"); ?> The current time is: < ?php echo date("h : i : s: A"); ?> The current UNIX timestamp is: < ?php echo time(); ?> |