Answers for "get current time with am pm in php"

PHP
1

how to get time php with am/pm

// Use this to get time and date with am and pm without leading 0
$date = date("g:i A");

// output: 1:46 PM
Posted by: Guest on September-23-2021

Browse Popular Code Answers by Language