Answers for "Subtract 10 minutes to current time"

0

Subtract 10 minutes to current time

$current = new DateTime("10 minutes ago", new DateTimeZone('Asia/Manila') );

echo $current->format("Y-m-d H:i:s");
Posted by: Guest on October-15-2021

Code answers related to "Subtract 10 minutes to current time"

Browse Popular Code Answers by Language