how to get week number from date code example Example: get current week number format("W"); echo "Weeknummer: $week";