initial commit
This commit is contained in:
commit
b65642cd0a
18 changed files with 1543 additions and 0 deletions
10
modules/date/date.php
Normal file
10
modules/date/date.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
$format = $_GET['format'] ?? 'full';
|
||||
|
||||
date_default_timezone_set($_GET['timezone'] ?? 'UTC');
|
||||
|
||||
echo date(match ($format) {
|
||||
'full' => 'Y-m-d H:i:s',
|
||||
'unix' => 'U'
|
||||
});
|
||||
1073
modules/date/date_help.php
Normal file
1073
modules/date/date_help.php
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue