Week In Review (4/8) – (4/12)

This week I worked on finishing up the word clock by building it and finishing the daylight savings code.

I created a conditional statement for daylight savings that used the formula day of month – day of week to find the previous sunday which works for finding the second sunday of march but the issue was it didnt work for finding the first sunday of march and I found out I could flip the equation to make it day of the week – day of the month and use the sum to find when the first sunday occurs. Here is the code:

The next thing I had to do was assemble the wordclock and put it all together and I had to do a bit of sanding with the dremel to make everything fit with some of the new parts but in the end it went together really nicely:

Leave a comment