Back to the Main Page
All of these examples assume that the library has been imported as noted in the Documentation.
The round() method rounds the date to the selected date part:
The ceil() method rounds the date upwards to the selected date part:
The floor() method rounds the date upwards to the selected date part: