Table of Contents

WeekStart(date)

Category: Date and Time function


Description

This function returns the date serial number of the first day (Sunday) of the week date falls in.


Arguments

ArgumentTypeDescription
dateDate or Number (date serial)An expression representing a date to derive the Sunday date value from.

Return value type: Date serial number


Remarks

The date argument can take any value or expression that evaluates to a date serial value. Examples include:


Examples

weekstart(#2018-06-06)  //Returns 43254 (Equivalent to Sun, June 3th, 2018.)
weekstart(30970)  //Returns 30969 (Equivalent to Sat, October, 14th, 1984.)


See also