Adding days to a timestamp

后端 未结 7 1307
春和景丽
春和景丽 2021-02-05 07:59

Giving a starting date, I\'m adding four times seven days to get 5 different dates separated exactly a week each one.

//$date = \'28-10-2010\';
$timestamp = mkti         


        
7条回答
  •  温柔的废话
    2021-02-05 08:30

    It looks like you moved to daylight time savings or back from them.

    POSIX time (timestamp) is always UTC while local time is UTC+X were X may change from date to date according to time savings.

提交回复
热议问题