Navigation :
Envision Tutorials
Envision Explanation
Envision How-To Guides
Lokad Platform
Envision Reference
- Glossary
- Platform overview
- List of icons
-
_
-
A-B-C
-
D-E-F
-
G-H-I
-
J-K-L
-
M-N-O
--
markdown (disambiguation)
-- match
-- max
-- mean
-- median
-- min
-- mixture
-- mkuid
-- mod
-- mode
-- modules
-- monday
-- montecarlo
-- month
-- monthEnd
-- monthNum
-- monthStart
-- mutable
-- nameof
-- negativeBinomial
-- noGrad
-- noncanonical
-- normal
-- nosort
-- not
-- nthmax
-- number
-- onlycall
-- or
-- order
-- over
-
P-Q-R
-
S-T-U
-
V-W-X
-
Y-Z
Envision Gallery
Envision Specifications
Envision Language
Legacy
monday
monday, function
def const dash pure monday(d: date): date
Returns the Monday of the week containing d (inclusive).
Examples
table T = with
[| as D |]
[| date(2019, 12, 28) |]
[| date(2019, 12, 30) |]
[| date(2020, 1, 1) |]
show table "Monday" with
T.D
monday(T.D) as "WeekStart"
This produces the following table:
D
WeekStart
2019-12-28
2019-12-23
2019-12-30
2019-12-30
2020-01-01
2019-12-30
See also