Developer Console
Login
Register
Back
getDateTimeDiff()
Copy Below Code
View As A Text File
Show Text Only
Show API
Edit Code
function getDateTimeDiff($diff = "-3 MINUTE") { return date('Y-m-d H:i:s', strtotime($diff)); }