You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
|
|
function datetimeDirectCalls(int $timestamp): string
|
|
{
|
|
$now = time();
|
|
return date('Y-m-d', $timestamp)
|
|
. gmdate('Y-m-d H:i:s', $timestamp)
|
|
. date('U', $timestamp)
|
|
. $now;
|
|
}
|
|
|
|
function strtotimeNormalCall(string $datetime): int|false
|
|
{
|
|
return strtotime($datetime);
|
|
}
|
|
|