Guillermo Giuliana 17e9dcf53b
fix multiple session handle ticket and update 4.7.0 update script (#812)
* fix multiple session handle ticket

* update 4.7.0 script
2020-06-18 07:08:20 -03:00

15 lines
339 B
PHP
Executable File

<?php
class Date {
public static function getCurrentDate() {
return date('YmdHi');
}
public static function getPreviousDate($days = 1) {
return date('YmdHi', strtotime(" -$days day "));
}
public static function getNextDate($days = 1) {
return date('YmdHi', strtotime(" +$days day "));
}
}