TIME 24 FORMAT PHP

PHP
$today = date("F j, Y, g:i a");                 // March 10, 2001, 5:16 pm
Source

Also in PHP: