<?php
$need_score = 200;
$timestamp = 1441011021;
$current_score = 83.33;
$date_now = new DateTime();
$date = new DateTime();
$date->setTimestamp($timestamp);
$interval_days = $date_now->diff($date)->days + 1;
print ($need_score - $current_score) * $interval_days;
- Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.44, 5.6.28, 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 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
- 350.01
- Output for 7.0.6
- 28817.49
- Output for 7.0.5
- 25200.72
- Output for 7.0.4
- 22517.31
- Output for 7.0.3
- 23450.67
- Output for 7.0.2
- 23917.35
- Output for 7.0.1
- 24034.02
- Output for 7.0.0
- 24384.03
- Output for 5.6.21
- 28584.15
- Output for 5.6.20
- 26017.41
- Output for 5.6.19
- 22167.3
- Output for 5.6.18
- 22983.99
- Output for 5.6.17
- 23567.34
- Output for 5.6.16
- 24500.7
- Output for 5.6.15
- 24617.37
- Output for 5.6.14
- 25084.05
- Output for 5.6.13
- 26717.43
- Output for 5.6.12
- 27184.11
- Output for 5.6.11
- 27534.12
- Output for 5.6.10
- 27884.13
- Output for 5.6.9
- 28117.47
- Output for 5.6.8
- 28350.81
- Output for 5.5.35
- 31034.22
- Output for 5.5.34
- 26134.08
- Output for 5.5.33
- 22283.97
- Output for 5.5.32
- 23334
- Output for 5.5.31
- 23684.01
- Output for 5.5.30
- 24967.38
- Output for 5.5.29
- 26834.1
- Output for 5.5.28
- 27300.78
- Output for 5.5.27
- 27417.45
- Output for 5.5.26
- 28000.8
- Output for 5.5.25
- 28234.14
- Output for 5.5.24
- 31150.89
- Output for 5.4.45
- 816.69
- Output for 5.2.0 - 5.2.17
- Fatal error: Call to undefined method DateTime::setTimestamp() in /in/e0esS on line 9
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/e0esS on line 7
Process exited with code 255. - Output for 4.4.2 - 4.4.9
- Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/e0esS on line 10
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/e0esS on line 10
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/e0esS on line 10
Process exited with code 255.
preferences:
262.15 ms | 401 KiB | 341 Q