How do I get the current date and time in PHP?
Which PHP function can return the current date/time?
date("Ymd")
returns 20190418
date("m/d/Y")
returns 04/18/2019
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.