Format Characters Used by the strftime() Function for Week
Character Description
%U Number of the week of the year, with Sunday as the first day of the week.
%V ISO-8601 number of the week of the year, with Monday as the first day of the week (0153).
%W Number of the week of the year, with Monday as the first day of the week (decimal number).
Related examples in the same category