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.