4 Replies Latest reply on Nov 12, 2013 8:06 AM by raybaudi

    How to get current hours in 12 hrs format

    SamThomas

      Title

      How to get current hours in 12 hrs format

      Post

           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.