I'm starting to use the studio. I'm trying to duplicate the "Stats" clock face. It looks like a good starting point for the clock face I would like. I see in the API how to get the time elements using the date event but where are in the api documentation are date elements (day of the week, day of the month, month.....)?
Answered! Go to the Best Answer.
You are probably looking for the Javascript Date object https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
It's got all the handy methods you are looking for like .getDate() and .getMonth()
You are probably looking for the Javascript Date object https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
It's got all the handy methods you are looking for like .getDate() and .getMonth()