<?php $time = 1400; echo "The time is: ".date('h:i A', strtotime($time)); ?>
Standard input is empty
The time is: 02:00 PM
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!