First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
date_default_timezone_set("Canada/Pacific");
|
||||
|
||||
$now = time();
|
||||
echo(date("Y-m-d H:i:s",$now));
|
||||
echo("\n");
|
||||
|
||||
$tn = intval($now / (60 * 30)) * 60 * 30;
|
||||
echo(date("Y-m-d H:i:s",$tn));
|
||||
echo("\n");
|
||||
|
||||
$tn = intval(($now + 15 * 60) / (60 * 30)) * 60 * 30;
|
||||
echo(date("Y-m-d H:i:s",$tn));
|
||||
echo("\n");
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user