<?php date_default_timezone_set('America/New_York'); $input = "3/11/2012 2:00"; $dt = new DateTime( $input ); $output = $dt->format( "m/d/Y H:i" ); echo( "$input => $output <br/>" );
You have javascript disabled. You will not be able to edit any code.