Berserk Docs
Scalar FunctionsDate & Time Functions

endofday

Returns the end of the day for the given datetime.

Syntax

endofday(date, offset)

Parameters

Prop

Type

Returns: datetime

Examples

Example 1 — End of the day Lindisfarne fell

print endofday(datetime(2024-06-08 06:00))
print_0 (datetime)
2024-06-08T23:59:59.9999999Z

On this page