How to extract just the current time from current date time token in mendix?

I am trying to just compare the time from the current date time token in mendix? Say the current date is =12/15/2019, 8:55 AM … I want to check if the time is less than 12pm , I display a message “Its daytime” else I display a message “Its noon time” ? How do I implement that?  
1 answers

Use the trimtohours described here: Or trimtohoursUTC for comparing to UTC-time.

Then compare to 12 using a decision and add a message on both the true and false side.