How to get current time and date in PHP?

Question

I am learning PHP and I want to know how to get current time and date in PHP?

solved 0
Ask Human 3 weeks 1 Answer 22 views Learner 0

Answer ( 1 )

  1. With code given below you can find current date and time in PHP. You can format the date and time according to your needs.

     

    Best answer

Leave an answer