Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 531 Bytes

0190.md

File metadata and controls

31 lines (24 loc) · 531 Bytes

Which of the following functions will output the current time in the 08:26 am format? Each correct answer represents a complete solution. Choose all that apply.

  • A)
print date('H:i a');
  • B)
print strftime('%I:%M %p');
  • C)
print date('G:i a');
  • D)
print date('Y:i a');
Answer

Answer: A, B