SyntaxFix
Write A Post
Hire A Developer
Questions
You can combine both in the same date function call
date("d-m-Y H:i:s");