php date

php date

Useful for forums and php applications in general. This is my preferred date format for forums.

Y-m-d G:i:s outputs YYYY-mm-dd 23:59:59

for leading zeros use H instead of G: Y-m-d H:i:s

Useful for forums like phpbb or any other forum system that lets you customize the display date with the php date format.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s