Below is an example of how to implement the Extended DateTime functionality.
1. Download and install the Extended DateTime component
Open the Forge Extended DateTime webpage and download the component. The demo application can also be downloaded. Install it.
2. Create the Extended DateTime dependency
Open the Manage Dependencies option and search for Extended DateTime. Select from the Extended DateTime the action or actions for your purposes and apply changes.
3. (Optional) Create Local Variable(s) in a screen or block
To have better control and to manage the sources of your data, it is suggested to create local variables, by choosing Date and Time Data Types, which then will be used as input parameters for the selected function. Observe that some functions do NOT require any parameters while others require two dates, to be compared, or an additional time parameter.
4. Assign Values to Parameters
You can use other sources of data, the standard Input widget or you may prefer to use selection widgets such as the Date Picker and or the Time Picker to assign values to the Date or Time Parameters
5. Refresh your Function Output
Create the Flow for the Action to Refresh the calculations, when new data is inserted or selected, in order to get the return of the function. The Action should be in a Screen or Block and it should be assigned as an event handler in the Input widget, for example, the Date Picker or Time Picker.