Berserk Docs
Scalar FunctionsDate & Time Functions

dayofweek

Returns the timespan since the preceding Sunday.

Syntax

dayofweek(date)

Parameters

Prop

Type

Returns: timespan

Examples

Example 1

print dayofweek(datetime(2024-06-08)) // what day of the week the raiders struck Lindisfarne
print_0 (timespan)
6.00:00:00

On this page