I just went over this in a critical moment and thought I would share.

In the event that you need to change over a period in 24 hour organization, for example, 14:00, to 12 hour arrange, which would be 2PM, you can utilize the accompanying code.

24 Hour to 12 Hour:

<?php echo date("g:i a", strtotime("13:30")); ?>

Furthermore, in the event that you needed to change over the 12 hour time configuration to 24 hour, you can utilize the following piece of code.

12 Hour to 24 Hour:

<?php echo date("H:i", strtotime("1:30 PM")); ?>

Related Posts:

  • Registration form java project this is the simple and basic project which is used to fill the student information.It is a student registration form. In this you can add, delete search,update the records from the database. Posted by GoVinD OzA … Read More
  • Data Processing java project The Java Data Processing Framework (JDPF) helps you in the definition, generation and execution of standard and custom data processing. JDPF has been designed to be modular and estendable. For these reasons, we decided t… Read More
  • Hardware Store java project This application is meant to record, view and update the inventory of a hardware tool shop FILES included: 1- HardwareStore.java 2- Record.java Run_HardwareStore – use this to run the program if it has been successfull… Read More
  • Complain Management System : PHP Project Complain Management System : PHP Project Online Complain Management is a Web based project developed in PHP/MySQL which used to manage Customer’s complain Online. User can login, and Create complain, view complain detail… Read More
  • Mobile app function stopwatch timer messaging timer Following functions will be carried out by application Messaging Calculations Stopwatch Timer CLASSES There will be one class for calculator in which functions like add,subtract etc will be performed. Posted by GoVinD OzA… Read More
by Govind Oza . Powered by Blogger.

PHP Frameworks

Popular Posts