Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where in the API is the Date

ANSWERED

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.....)?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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()

View best answer in original post

Best Answer
2 REPLIES 2

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()

Best Answer

Thanks! Worked perfectly.

Best Answer
0 Votes