Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82384

Update the time within a DateTime attribute

$
0
0

Scenario: We're passing in a DateTime object into a microflow and retrieving a list of objects that are greater than or equal to that DateTime object. We need to iterate over the list of DateTime objects and update the TIME of each one to match the time of the object passed in (not the date!).

Our idea was to try using the formatTime() function to extract the time from the object passed in as a string and then utilise that; but the addHours() function doesn't accept strings and we cannot parse the string time in format "hh:mm" as an integer or decimal, so we're pretty stuck!


Viewing all articles
Browse latest Browse all 82384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>