opensupports/server/libs/Date.php

11 lines
210 B
PHP
Executable File

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