Calculate the day of the week

Almost a year ago I made a project that returns you the day of week from any date.

This is the project:

https://snap.berkeley.edu/embed?project=Calculate%20day%20of%20week&user=joan%20paneque&showTitle=true&showAuthor=true&editButton=true&pauseButton=true

I did this for @sir_kitten2's New Years 2023 Collab.

Cool, but Snap! already has a block for this.

This is waaaay cool! :star_struck:

(edit): Wow, all those nested conditionals! I'm curious: A year later would you still do it the way you did it then, or would you try a different approach, perhaps one with lists?

Please don't ping me unless there is something I need to know about.

Thanks!

Yes, I would definitely do it in another way and more simplified. I did this when I was learning Snap! in a highschool subject

Really? I didn't know about that