
Untitled
By: a guest on
Jul 14th, 2012 | syntax:
None | size: 0.80 KB | hits: 14 | expires: Never
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="utf-8">
<title>Week 1 - Activiteit 9 - Wat doet de time() functie?</title>
<style type="text/css">
span { display: inline-block; width: 200px; }
</style>
</head>
<body>
<?php
/**
* @author Dominique de Graaff
* @since 11-02-2012
*/
// Variables
$time = time();
// Output
echo ("<h1>\"echo time();\" geeft: $time</h1>\n");
echo ("\t\t
<p>
<strong>Uitleg:</strong><br/>
Met time() functie krijg je een UNIX timestamp terug. <br/>
Dit zijn het aantal seconden sinds 1 januari 1970.
</p>\n");
?>
</body>
</html>