
The date value of the last day in the specified month. date endMth(date date)Ī date value that indicates a year, month, and day. Print "Today's day of the year is " + int2Str(i) Ĭalculates the last date in the month of the specified date. Example static void dayOfYrExample(Args _arg) January 1 is 1, and December 31 is either 365 or 366. The number of days between January 1 and the specified date, inclusive. int dayOfYr(date _date)Ī date that specifies the year, month, and day. Print "Today's day of the week is " + int2Str(i) Ĭalculates the number of days between January 1 and the specified date. Example static void dayOfWkExample(Args _arg) The number of the specified day in the week. int dayOfWk(date date)Ī date value that indicates the year, month, and day. Note: Monday is represented by 1, Tuesday by 2, and Sunday by 7. Print "Today's day of the month is " + int2Str(i) Ĭalculates the number of day in the week for the specified date. Remarks dayOfMth(31122001) //returns 31.Įxample static void dayOfMthExample(Args _arg) int dayOfMth(date date)Īn integer between 1 and 31 that indicates the day of the month for the specified date. Print "First day of the week's name is " + s Ĭalculates the number of the day in the month for the specified date. Example static void dayNameExample(Args _arg) Monday is represented by 1, Tuesday by 2, and Sunday by 7.


The valid values for the number parameter are 1 through 7.

The day of the week specified by the number parameter. Retrieves the name of the day of the week that is specified by a number. This article describes the date run-time functions.
