<?php
// Listing Created at Date - You can change it for testing purposes
$createdAt = new \DateTime('2015-12-14');
// Server Current Date/Time
$currentDate = new DateTime();
if( $createdAt->format('Y') >= 2016 || $currentDate->format('m') >= $createdAt->format('m') ) {
echo 'Redirect';
} else {
echo 'Hello Google.';
}
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Hello Google.