Closed dotsara closed 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.
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!
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:
day 223
), week of the year (i.e.33
)