get the date by current week and year code example Example: get current week number format("W"); echo "Weeknummer: $week";