Day of the week of Christmas and New Year: Difference between revisions
Content added Content deleted
Line 38: | Line 38: | ||
<lang julia>using Dates |
<lang julia>using Dates |
||
println("Christmas 2021: ", Dates.format(DateTime(2021, 12, 25), ", U d, Y")) # "Saturday, December 25, 2021" |
println("Christmas 2021: ", Dates.format(DateTime(2021, 12, 25), "E, U d, Y")) # "Saturday, December 25, 2021" |
||
println("New Years Day 2022: ", Dates.format(DateTime(2022, 1, 1), ", U d, Y")) # "Saturday, January 1, 2022" |
println("New Years Day 2022: ", Dates.format(DateTime(2022, 1, 1), "E, U d, Y")) # "Saturday, January 1, 2022" |
||
</lang> |
</lang> |
||