Hi Team,
I want to show hour in my dashboard but it will be with add 1 hour in current hour.
i'm using this to get the current hour in my div box
<div class="widgetText" style="color: #61ddbb;">
<%=now.getHour()%>
</div>
OutPut
13
now i'm trying to add + 1 hour in current hour. i had issue for that
Trying this to add
<div class="widgetText" style="color: #fc8372;">
<%=now.addHour(1) %>
</div>
OutPut
16-Jul-2019 14:00:04
But exactly what i need is
13:00
14:00
15:00
Thanks in advance.