Which of the following calendaring syntax expressions would evaluate to the last day of every month?

Which of the following calendaring syntax expressions would evaluate to the last day of
every month?

Which of the following calendaring syntax expressions would evaluate to the last day of
every month?

A.
FREQ = MONTHLY; BYMONTHDAY = 31

B.
FREQ = MONTHLY; BYMONTHDAY = -1

C.
FREQ = DAILY; BYDAY = -1

D.
FREQ = MONTHLY; BYDAY = 31

E.
FREQ = DAILY; BYMONTHDAY = LAST_DAY

Explanation:
FREQ
This specifies the type of recurrence. It must be specified. The possible predefined
frequency values are YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY, and
SECONDLY. Alternatively, specifies an existing schedule to use as a user-defined
frequency.

BYMONTHDAY
This specifies the day of the month as a number. Valid values are 1 to 31. An example is 10,
which means the 10th day of the selected month. You can use the minus sign (-) to count
backward from the last day, so, for example, BYMONTHDAY=-1 means the last day of the
month and BYMONTHDAY=-2 means the next to last day of the month.



Leave a Reply 0

Your email address will not be published. Required fields are marked *