<?php
$today = new DateTime('now');
$today_string = $today->format('Y-m-d');
$next_year = clone $today;
$next_year->modify( '+1 year' );
$next_year_string = $next_year->format('Y-m-d');
echo $next_year->format('yy-mm-dd');
- Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.28, 5.4.0 - 5.4.26, 5.6.28, 7.0.14 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- 1515-0303-1919
- Output for 7.0.6
- 1717-0505-0303
- Output for 7.0.5
- 1717-0404-0202
- Output for 7.0.4
- 1717-0303-1010
- Output for 7.0.3
- 1717-0303-1818
- Output for 7.0.2
- 1717-0303-2121
- Output for 7.0.1
- 1717-0303-2323
- Output for 7.0.0
- 1717-0303-2626
- Output for 5.6.21
- 1717-0505-0202
- Output for 5.6.20
- 1717-0404-0909
- Output for 5.6.19
- 1717-0303-0707
- Output for 5.6.18
- 1717-0303-1414
- Output for 5.6.17
- 1717-0303-1919
- Output for 5.6.16
- 1717-0303-2727
- Output for 5.6.15
- 1717-0303-2828
- Output for 5.6.14
- 1717-0404-0101
- Output for 5.6.13
- 1717-0404-1515
- Output for 5.6.12
- 1717-0404-1919
- Output for 5.6.11
- 1717-0404-2222
- Output for 5.6.10
- 1717-0404-2525
- Output for 5.6.9
- 1717-0404-2727
- Output for 5.6.8
- 1717-0404-2929
- Output for 5.6.7
- 1717-0505-2525
- Output for 5.5.35
- 1717-0505-2222
- Output for 5.5.34
- 1717-0404-1010
- Output for 5.5.33
- 1717-0303-0808
- Output for 5.5.32
- 1717-0303-1616
- Output for 5.5.31
- 1717-0303-2020
- Output for 5.5.30
- 1717-0303-3131
- Output for 5.5.29
- 1717-0404-1616
- Output for 5.5.28
- 1717-0404-2020
- Output for 5.5.27
- 1717-0404-2121
- Output for 5.5.26
- 1717-0404-2626
- Output for 5.5.25
- 1717-0404-2828
- Output for 5.5.24
- 1717-0505-2323
- Output for 5.4.41 - 5.4.45
- 1616-0909-1414
- Output for 5.4.39 - 5.4.40
- 1616-0505-1515
- Output for 5.4.38
- 1616-0303-0202
- Output for 5.4.34 - 5.4.37
- 1616-0202-0808
- Output for 5.3.29, 5.4.27 - 5.4.32
- 1515-0909-0707
- Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
- Fatal error: Class 'DateTime' not found in /in/L4NOd on line 2
Process exited with code 255. - Output for 4.4.2 - 4.4.9
- Parse error: syntax error, unexpected T_VARIABLE in /in/L4NOd on line 4
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
- Parse error: parse error, unexpected T_VARIABLE in /in/L4NOd on line 4
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/L4NOd on line 4
Process exited with code 255.
preferences:
224.62 ms | 401 KiB | 315 Q