The current_time()
function whenever passed a timestamp
as a parameter will return a UNIX Timestamp which is already been run through strtotime()
. By passing that variable to strtotime()
you’re trying to timestamp a timestamp. Try this instead:
$tomorrow_time = date( 'Y-m-j', $time_now );