Member of the time class.
calendar
calendar(d)
calendar(y, m)
c = calendar
c = calendar(d)
c = calendar(y, m)
Returns a calendar for a month that you specify. calendar(y, m) returns a 7-by-7 matrix where the first row contains abbreviations for the days of the week, beginning with Sunday. c = calendar(y, m) returns a 6-by-7 real matrix where each column represents a day of the week, beginning with Sunday.
| Name | Description |
| d | Specifies the date. d is a string or number. |
| y | Specifies the year. y must be an integer greater than 0. |
| m | Specifies the month. m must be an integer between 1 and 12. |
| Name | Description |
| c | Returns a calendar for the current month or for month m of year y. c is a 6-by-7 real matrix. |
This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.
calendar(2006, 6)
C = calendar
C = calendar(2004, 10)
d = now;
C = calendar(d)
d = date;
C = calendar(d)