Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
WPDKDateTime
stripSecondsFromTime
WPDKDateTime::stripSecondsFromTime PHP Méthode
WPDKDateTime Class Documentation
Afficher le fichier
Open project: wpxtreme/wpdk
stripSecondsFromTime()
public
static
méthode
Strip seconds from a date string (with time)
public
static
stripSecondsFromTime
(
string
$time
) :
string
$time
string
Time in hh:mm:ss
Résultat
string
public static function stripSecondsFromTime($time) { return substr($time, 0, 5); // 00:00 }
WPDKDateTime
accuracy
beginningOfWeek
compareDate
compareDatetime
daysToDate
daysToWeekStart
elapsed
elapsedString
elapsed_string
expirationDate
format
human
isExpired
isInRangeDatetime
mySQLDate
mySQLDateTime
stripSecondsFromTime
timeInRange
timeNewLine