DateTime functions

0
I have been looking for documentation about handeling datetime in microflows. I can’t find any documentation. Does anybody have a link on what functions I can use in microflows for example get day of year from a datetime object. 
asked
3 answers
1

Chech the list here: https://docs.mendix.com/refguide7/expressions, especially https://docs.mendix.com/refguide7/parse-and-format-date-function-calls.

answered
1

Create a datetime variable in a microflow and hit ctrl+space to see  options.

“now”: [%CurrentDateTime%]

likewise for differences: create a decimal variable and do daysBetween([%CurrentDateTime%], $YourObject/DateTimeAttributeToCheck).

There is a yearsBetween Java action in the CommunityCommons module in the app store.

answered
0

Thanks for your quick response. I have viewed the documents and I am missing a few of functions. I am wandering is the documentation not complete or is Mendix not complete?

I am missing functions like:
Datetime now → datetime() requires at least 1 argument. I want the datetime at the executed moment.
Days difference between 2 datetimes. 
Years difference between 2 datetimes.

What functions can I use do get this information?
 

answered