Tomorrows Date?
Posted: Wed Oct 27, 2010 9:37 am
Hi,
I am trying to show tomorrows date, using the date picked up from a file.
I can show the date and time the file was created as per below:
Can anyone help?
Thanks,
Simon
I am trying to show tomorrows date, using the date picked up from a file.
I can show the date and time the file was created as per below:
Code: Select all
$today = 'sbFCS12.csv';
if (file_exists($today)) {
echo "File updated at: " . date ("D d F Y H:i", filemtime($today));}
But cannot get tomorrows date to show using:
$tomorrow = 'sbFCS12.csv';
if (file_exists($tomorrow)) {
echo "File updated at: " . date ("d")+1, filemtime($tomorrow));} Thanks,
Simon