functions-online

idate

en
de
fr

description

Returns a number formatted according to the given $format string using the given integer $timestamp or the current local time if no $timestamp is given. In other words, $timestamp is optional and defaults to the value of time().

Unlike the function date(), idate() accepts just one char in the $format parameter.

idate() gibt eine Zahl zurück, die durch den Parameter $format formatiert wird. Mit dem Parameter $timestamp kann eine Uhrzeit/Datum angegeben werden oder es wird die lokale Zeit verwendet, wenn $timestamp nicht angegeben wurde. Mit anderen Worten, $timestamp ist optional und erhalt das Ergebnis der Funktion time() im Default-Fall.

Anders als die Funktion date(), akzeptiert idate() nur ein Zeichen im $format Parameter.

idate() retourne une nombre formaté avec le format $format et représentant le timestamp $timestamp ou l'heure courant si $timestamp est omis. En d'autres termes, le paramètre $timestamp est optionnel et la valeur par défaut est la valeur retournée par la fonction time().

À l'inverse de la fonction date(), idate() accepte juste un caractère comme paramètre $format.

declaration of idate

int idate ( string $format [, int $timestamp ] )

test idate online







comments for idate

be the first

No comments so far for idate(). Leave yours as first below.

+

Leave your comment