function _cronT in Elysia Cron 6
Same name and namespace in other branches
- 5.2 elysia_cron_scheduler_old.inc \_cronT()
- 5 elysia_cron_scheduler_old.inc \_cronT()
- 6.2 elysia_cron_scheduler_old.inc \_cronT()
- 7 elysia_cron_scheduler_old.inc \_cronT()
1 call to _cronT()
File
- ./
elysia_cron_scheduler_old.inc, line 110
Code
function _cronT($time, $d = -1, $h = -1, $m = -1) {
if ($d < 0) {
return date('n', $time) * 31 * 24 * 60 + date('j', $time) * 24 * 60 + date('H', $time) * 60 + date('i', $time);
}
else {
return $time * 31 * 24 * 60 + $d * 24 * 60 + $h * 60 + $m;
}
}