I tried this code:
var now = Date.now(); if(now.getHours() > 5 ){ }
I got this Error: JavascriptException
"StackTrace": "TypeError: now.getHours is not a function
How can I get components(Days, Hours) from a Date?
Where I can get all Docs/code/functions usable to cloud script?
appriciate any link/resource.
Thanks.