PHP date is one day ahead? -
when write <?php echo date('d'); ?>
day 1 day ahead? i've checked , doesn't echo on other websites on same database
try setting timezone 1 of these values.
for example, try @ start of script (with appropriate timezone, of course):
<?php date_default_timezone_set('pacific/auckland'); ?>
Comments
Post a Comment