opensupports/server/libs/Date.php

11 lines
210 B
PHP
Raw Normal View History

<?php
2016-08-01 05:34:55 +02:00
class Date {
public static function getCurrentDate() {
return date('YmdHi');
2016-08-01 05:34:55 +02:00
}
public static function getPreviousDate() {
return date('YmdHi', strtotime(' -1 day '));
}
}