weekday

Get the weekday value as a number from a date or datetime.

Parameters:

No. Type Comments
1 date or datetime Value to extract weekday from

Returns:

short(1,7) - A short value representing the weekday.

Usages:

  • weekday( d:date) : short
  • weekday( d:datetime) : short