2020-05-02 / 5543阅 / 悠然
Get the week start and end from the datetime or date string from MySQL.
(string)
(Required)
Date or datetime field type from MySQL.
(int|string)
(Optional)
Start of the week as an integer.
Default value: ''
(array) Keys are 'start' and 'end'.