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.

declaration of idate

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

test idate online

share idate

comments for idate

be the first

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


Leave your comment