roundDay($timestamp)
Converts the time timestamp to a date.
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| timestamp | Business object | A date value that represents a point in time. | yes |
Type: Business Object
A date value representing the specified point in time. Specifications for time (hours, minutes etc.) are resetted.
Note: The output may differ depending on the calendar's time zone.
dateFormat("dd-MM-yy hh:mm:ss").format(roundDay(now()))
Output: 07-10-21 05:00:00