Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
WPDKDateTime
mySQLDate
WPDKDateTime::mySQLDate PHP Method
WPDKDateTime Class Documentation
Datei anzeigen
Open project: wpxtreme/wpdk
mySQLDate()
public
static
method
Return a date in MySQL format
YYYY-MM-DD
.
Since:
1.3.0
public
static
mySQLDate
(
string
|
integer
$date
) :
string
$date
string
|
integer
A string date or timestamp.
return
string
public static function mySQLDate($date) { return self::format($date, self::MYSQL_DATE); }
WPDKDateTime
accuracy
beginningOfWeek
compareDate
compareDatetime
daysToDate
daysToWeekStart
elapsed
elapsedString
elapsed_string
expirationDate
format
human
isExpired
isInRangeDatetime
mySQLDate
mySQLDateTime
stripSecondsFromTime
timeInRange
timeNewLine