dotsara / 100-projects

100 projects in different languages, frameworks, etc. :package:
http://toolbox.dotsara.com/100-projects
10 stars 2 forks source link

Date-related… #12

Closed dotsara closed 8 years ago

dotsara commented 8 years ago
dotsara commented 8 years ago

Working on the first item and wowzers, getting the day of the year (as a number) is tricky business. I'm not (yet) worried about time zones--so far the returned info is based on what the browser gives the script--but still.

dotsara commented 8 years ago

I ended up using that SO answer, but changing the functions from Date.prototype.functionName to function functionName(). I haven't used .prototype, yet! That's on the list for learning!

dotsara commented 8 years ago

I am happy with how this one ended up--I am sure it won't be the last date-related project I do, but I really wanted to get back into the swing of doing a project at all this week, so. :tada:

https://github.com/dotsara/right-now