weekday()
This function returns the weekday of a Ddate or Timestamp in parameter a as number. The numbers are representing the following weekdays.
|
Value |
Weekday |
|
0 |
Sunday |
|
1 |
Monday |
|
2 |
Tuesday |
|
3 |
Wednesday |
|
4 |
Thursday |
|
5 |
Friday |
|
6 |
Saturday |
Parameters
|
Parameter |
Description |
|
a |
Date. |
Examples
|
Parameter a |
Result |
|
2005-02-07 08:20:00 |
1 |
|
2005-02-05 |
6 |