Answers for "get current week number"

0

get current week number

<?php
$ddate = "2012-10-18";
$date = new DateTime($ddate);
$week = $date->format("W");
echo "Weeknummer: $week";
Posted by: Guest on January-21-2021

Browse Popular Code Answers by Language