<?php
$monday = strtotime( 'monday this week' );
$friday = date( 'Y-m-d', strtotime( 'friday this week' ) );
echo $monday;
- Output for 5.6.23 - 5.6.28, 7.0.8 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
- 1446418800
- Output for 7.3.32 - 7.3.33, 8.0.13
- 1446422400
- Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.22, 7.0.0 - 7.0.7
- 1447023600
preferences:
174.49 ms | 402 KiB | 225 Q