How to get current hours in 12 hrs format
I want to find records using time stamp,So for that hours are needed.how to get current hours?
e.g current time is :7:55:57 PM here how to get 7 only.
I try this
Hour(get(currentTime)) here its return in 24 hrs format e.g 7->19..I want 7 only.