Ask php how to get the starting time stamp of last Monday (00:00) for a specified time point (timestamp).

there is a requirement in the project:
get the starting time stamp (00:00) of Monday of last week at a specified time point (timestamp)

Note: it is not the week of the current time, it is the week of the specified time.

Thank you for your advice!

Php
Feb.22,2022

$start_time = strtotime('monday last week', $time);
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31e7f-3419a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31e7f-3419a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?