Overview
Example Lab Details | |
| Version | 6.9.0 |
| Root Folder | Example Leb - Rounding DateTime |
| Modules | None |
| Dependencies | None |
This Example Lab project demonstrates how to use a Converter Flow to round a DateTime to the nearest quarter-hour.
Explanation
This Example Lab project demonstrates how to round a DateTime value to the nearest quarter-hour. This is accomplished with a Converter Flow that uses Truth Table to determine the nearest quarter-hour. From there, the difference between the provided DateTime and the nearest quarter hour is calculated. That difference is used to adjust the supplied DateTime, which is then parsed to remove the seconds. With this Flow being a Converter Flow, it can be used on inputs of the DateTime type. For more info on Converter Flows, please refer to the documentation page linked below.
.png)