I am new to Youtrack Workflow. I am trying to create a new workflow for which I require hours from the current date-time.
I am using new Date().getHours()
but it's not returning proper value.
say for example my current time is Fri Jun 12 2020 18:29:29 GMT+0530 (India Standard Time)
then it should have got 18 as the current hour but, I am getting 12 as the current hour.
Also in the date-time function in Youtrack, there is no option for the same (https://www.jetbrains.com/help/youtrack/incloud/v1-date-time.html)
Please help me with this.