- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
function getTimestamp() {
$timestamp = time();
$date_time_array = getdate($timestamp);
$hours = $date_time_array['hours'];
$minutes = $date_time_array['minutes'];
$seconds = $date_time_array['seconds'];
$month = $date_time_array['mon'];
$day = $date_time_array['mday'];
$year = $date_time_array['year'];
$timestamp = mktime($hours,$minutes-1,$seconds,$month,$day,$year);
return $timestamp;
}
Alexey 07.11.2016 03:10 # −1
zenn1989 07.11.2016 08:25 # +3
Alexey 07.11.2016 15:00 # 0
Gay 07.11.2016 15:12 # −2
barop 07.11.2016 23:08 # −63
barop 07.11.2016 23:11 # −63