Util.Julian_DayOfWeek() Method

Returns the day of the week (0-6, 0=Sun), given a Julian date.

Syntax

Util.Julian_DayOfWeek(JulianDate)

The method syntax has these parts:

Part Description
JulianDate (Double) a Julian date
Return (Long) the day of the week, 0-6, 0 is Sunday

Remarks

This works for any time scale for the Julian date, however by convention Julian dates are in UTC time, so the day of the week will be for UTC as well.