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