| Applying science to business management |
  
weekday
Format: weekday( sernum )
Arguments: (time) sernum Optional date and time
serial number; default = now
Returns: (text) Day of the week implied by sernum
(e.g., Sunday, Monday, etc.)
Note: The serial number used by all date and time
primitives is the number of seconds that have elapsed between an
arbitrary base date and the specified date and time. Dates before
the year 1584 are not valid.
The serial numbers returned by the datenum and now primitives
include the time unit of measure. Use formulas including the
units years, months, days, hours, minutes,
and sec to modify date serial numbers.
Examples: weekday(datenum(1992,7,18,9,15,10))
= Saturday
weekday = current day of the
week
weekday(now+100days) = day of
the week 100 days from now
See Also: datenum,
now, date, time, year, month, day, hour,
minute, second
|