David Carrdcblog.dev·Jan 22, 2013Getting the week commencing date and week number using PHPUsing php's date function you can get all sorts of date combinations including finding the week commencing date for any date. The following function takes a date and returns the previous Monday's date. function last_monday($date) { if (!is_num...27 readsAdd a thoughtful commentNo comments yetBe the first to start the conversation.