<?php
$objDateTime = new DateTime();
$saleTime = new DateTime("2014-06-04 15:00:00");
$timerValue = $objDateTime->diff($saleTime)->format('%H:%i:%s');
echo $timerValue;
- Output for 7.2.12 - 7.2.33, 7.3.0 - 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.18, 8.3.0 - 8.3.6
- 01:38:30
- Output for 7.3.32 - 7.3.33, 8.0.13
- 03:38:30
- Output for 5.6.28, 7.0.14 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.11
- 01:38:31
- Output for 7.0.6
- 15:57:11
- Output for 7.0.5
- 04:57:21
- Output for 7.0.4
- 15:5:52
- Output for 7.0.3
- 15:32:37
- Output for 7.0.2
- 21:5:33
- Output for 7.0.1
- 02:28:6
- Output for 7.0.0
- 04:10:16
- Output for 5.6.21
- 11:14:10
- Output for 5.6.20
- 00:15:36
- Output for 5.6.19
- 16:37:0
- Output for 5.6.18
- 05:10:52
- Output for 5.6.17
- 19:53:5
- Output for 5.6.16
- 05:55:16
- Output for 5.6.15
- 06:47:34
- Output for 5.6.14
- 09:16:12
- Output for 5.6.13
- 13:20:14
- Output for 5.6.12
- 02:51:55
- Output for 5.6.11
- 09:50:7
- Output for 5.6.10
- 11:41:19
- Output for 5.6.9
- 16:40:4
- Output for 5.6.8
- 00:33:41
- Output for 5.6.7
- 16:34:23
- Output for 5.5.35
- 14:51:48
- Output for 5.5.34
- 06:11:48
- Output for 5.5.33
- 01:59:24
- Output for 5.5.32
- 08:2:20
- Output for 5.5.31
- 22:41:50
- Output for 5.5.30
- 08:47:19
- Output for 5.5.29
- 03:25:27
- Output for 5.5.28
- 05:55:55
- Output for 5.5.27
- 08:22:50
- Output for 5.5.26
- 14:7:37
- Output for 5.5.25
- 20:10:12
- Output for 5.5.24
- 03:4:7
- Output for 5.4.45
- 10:40:43
- Output for 5.4.44
- 10:40:39
- Output for 5.4.43
- 10:40:36
- Output for 5.4.42
- 10:40:35
- Output for 5.4.41
- 10:40:33
- Output for 5.4.39 - 5.4.40
- 10:40:30
- Output for 5.4.38
- 05:2:22
- Output for 5.4.35 - 5.4.37
- 05:2:15
- Output for 5.4.34
- 05:2:14
- Output for 5.4.32
- 21:55:56
- Output for 5.4.31
- 21:55:55
- Output for 5.4.30
- 21:55:49
- Output for 5.4.16 - 5.4.29
- 01:38:28
- Output for 5.4.1 - 5.4.15
- 01:38:27
- Output for 5.3.14 - 5.3.28, 5.4.0
- 01:38:26
- Output for 5.3.29
- 21:55:50
- Output for 5.3.0 - 5.3.13
- 01:38:25
- Output for 5.2.0 - 5.2.17
- Fatal error: Call to undefined method DateTime::diff() in /in/jBQ9u on line 4
Process exited with code 255. - Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
- Fatal error: Class 'DateTime' not found in /in/jBQ9u on line 2
Process exited with code 255. - Output for 4.4.2 - 4.4.9
- Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/jBQ9u 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_OBJECT_OPERATOR in /in/jBQ9u on line 4
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/jBQ9u on line 4
Process exited with code 255.
preferences:
217.19 ms | 401 KiB | 357 Q