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);
    }