πŸ“Š PHP
Q. Which is the correct PHP statement to print the current time in the format of hour:minutes:seconds(am/pm) i.e., 10:22:54pm?
  • (A) <?php echo date("h:i:sa");?>
  • (B) <?php echo date("h:m:sa");?>
  • (C) <?php echo date("h:mi:sa");?>
  • (D) <?php echo date("hh:min:sa");?>
πŸ’¬ Discuss
βœ… Correct Answer: (A) <?php echo date("h:i:sa");?>

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
179
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate