functions-online

date

description

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

declaration of date

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

test date online







share date

comments for date

On 22. Aug 2018 05:01 katemat wrote:

It is very useful

On 08. Sep 2016 08:18 sree wrote:

It is very useful

On 16. Apr 2015 20:51 Rince t raju wrote:

Why Php date() showing yesterday's date even after 12:00am???

more comments for date

There are some more comments for date(). To see them all click here.

+

Leave your comment