date_format

(PHP 5 >= 5.1.0RC1)

date_format -- Returns date formatted according to given format

Description

string date_format ( DateTime object, string format )

string DateTime::format ( string format )

Parameters

object

DateTime object.

format

Format accepted by date().

Return Values

Returns formatted date on success or FALSE on failure.

See Also

date()


Follow phpf1 on Twitter




F1 Site Family
AJAX F1
CSS F1
Database F1
Flash F1
HTML F1
Java F1
JavaScript F1
PhotoShop F1
PHP F1
Scripts F1
Tutorial F1
Windows F1

Total time: 0.1532