Description Usage Arguments Value Examples
This function returns the date ("YYYY-MM-DD") of the last specified day (Sunday == 1, Monday == 2, ... Saturday == 7) in a given month (January == 1 ...)
1 | lastDayOfMonth(day, month, year)
|
day |
- Specify the last week day. Sunday == 1, Monday == 2, ... Saturday == 7 |
month |
- Determine the month of the date |
year |
- Determine the year of the date |
date (Date object) of the last given week day in the month and year
1 2 | # Give me the date of the last sunday in october 2016 --> DST date
lastDayOfMonth(1,10,2016)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.