strtotime
The following expressions return the same time
echo strtotime("2031-05-28T00:00:00").PHP_EOL;
echo strtotime("2031-05-28 00:00:00").PHP_EOL;
echo strtotime("2031-05-28").PHP_EOL;
The result is:
1937692800
1937692800
1937692800
by Valeri Tandilashvili
11 months ago
PHP
0
Pro tip: use ```triple backticks around text``` to write in code fences