I have REPORTDATE field where I want to take the value just of the hours and minutes.
reportdate.getTime()
returns this for example: 1439967368798
I want to compare if TIME from reportdate (hours and minutes) are between:
if reportdate>=06:45 and reportdate<13:45 then a=1;
if reportdate>=13:45 and reportdate<20:45 then a=2;
if reportdate>=20:45 and reportdate<06:45 then a=3;
I did not succeed to find some instructions on web. Should I try with this by using the value that I am getting from getTime (1439967368798) or with some other method?