Weekday From Date
Calculator

Inputs

Weekday number (0 = Sunday)
4

Results

Weekday number (0 = Sunday)
4
Falls on a weekend (1 = yes)
0
Falls on a weekday (1 = yes)
1
Days to next Monday
4

Time and date results

Weekday number (0 = Sunday)4
Falls on a weekend (1 = yes)0
Falls on a weekday (1 = yes)1
Days to next Monday4

formula-map diagram

Weekday number (0 = Sunday)
4
Falls on a weekend (1 = yes)
0
Falls on a weekday (1 = yes)
1
Days to next Monday
4

Time relationship

Formula

weekday = day of week per the proleptic Gregorian calendar (0 = Sunday … 6 = Saturday)

= 4

Note

This is a simplified model: it uses fixed conversions (60 minutes per hour, 24 hours per day, 7 days per week, 365 days per year) and ignores leap years, daylight saving changes, public holidays and irregular month lengths. Check the result against a real calendar before relying on it.

More in Time and date

See all →