lundi 1 août 2022

PHP add minutes to MongoDB\BSON\UTCDateTime

use MongoDB\BSON\UTCDateTime;

$date = new UTCDateTime($val * 1000); // 1659356187861

How can I do this if I want to subtract or add 5 minutes from this $date variable?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/jzC1Hn3
via IFTTT

Aucun commentaire:

Enregistrer un commentaire