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

0
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?  
asked
1 answers
0

Use the trimtohours described here: https://docs.mendix.com/refguide/trim-to-date. 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.

answered