这些strtotime输入效果很好:
strtotime( "next monday" );strtotime( "previous monday" );strtotime( "today" );strtotime( "next friday" );strtotime( "previous friday" );
您需要做的就是将逻辑包装在一些if语句中。

这些strtotime输入效果很好:
strtotime( "next monday" );strtotime( "previous monday" );strtotime( "today" );strtotime( "next friday" );strtotime( "previous friday" );
您需要做的就是将逻辑包装在一些if语句中。