Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: date_format - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

date_isodate_set" width="11" height="7"/> <date_default_timezone_set
Last updated: Mon, 05 Feb 2007

view this page in

date_format

(PHP 5 >= 5.2.0)

date_format — 指定した書式でフォーマットした日付を返す

説明

string date_format ( DateTime object, string format )
string DateTime::format ( string format )

パラメータ

object

DateTime オブジェクト。

format

date() が理解できる書式指定文字列。

返り値

成功した場合にフォーマット済みの日付、失敗した場合に FALSE を返します。

参考

date()



add a note add a note User Contributed Notes
date_format
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites