Course of Raku / Advanced / More about built-in types / Date and time / Exercises
Weeks until Christmas
Problem
Find how many days there are from the 27th of June 2026 to Christmas (the 25th of December 2026) using date subtraction, then express that span as a whole number of weeks plus the leftover days. Print it in the form shown below.
Example
The program prints:
25 weeks and 6 days