WPDKDateTime::mySQLDateTime PHP Метод

mySQLDateTime() публичный статический Метод

Return a date and time in MySQL format YYYY-MM-DD HH:MM:SS.
С версии: 1.3.0
public static mySQLDateTime ( string | integer $datetime ) : string
$datetime string | integer A string date or timestamp.
Результат string
    public static function mySQLDateTime($datetime)
    {
        return self::format($datetime, self::MYSQL_DATE_TIME);
    }