Splitting the components date and time automatically

0
Hi people, I would like to have help with how to split each component of date time and have date, time, month, year fields automatically filled up while someone choses a date time using the date picker.
asked
1 answers
0

Hi Mariam,

If you want to split the date time components , you can try to use the On change Event of Date picker ,
There you can define a custom logic  to do the parsing on the selected Date Time.
Also you can use the below functions on the save button activity depending on your requirements.

I would suggest to go through the following document for date time parsing and formatting :

https://docs.mendix.com/refguide/parse-and-format-date-function-calls/

answered