July 29, 2025 update:
The 2025 dev survey results are now live!
The technology section is updated this year with the 5 most common write-in responses for technologies used and want to use, and new
The only date/time function i can find is now() and searches relative to that, i. e.
-1d, -4d etc.
The only problem with this is that now () is time specific so there is no way of getting a particular day's created.
Is there a php function that returns the date and time in the same format as the mysql function now()?
I know how to do it using date(), but i am asking if there is a function only for this.