Calendar Options
- Calendar Picker
- Clicking in the date field's textbox will open up the calendar picker.
This short video gives instructions on how to use the calendar picker. - The date can be manually entered in the textbox in the below formats:
Please type dates in the month/day/year format, other formats could be interpreted but our code will have to guess and the resulting date might be converted incorrectly.- MM/DD/YYYY
- MM/DD/YY
- M/DD/YYYY
- M/DD/YY
- MM/D/YYYY
- MM/D/YY
- M/D/YYYY
- M/D/YY
-
Text interpretations of dates - Text interpretations of dates are very strict and should remain inside the parameters mentioned below, for example, "two weeks" will not be converted but "2 weeks" will.
# days|weeks|months|years
, e.g.: “2 days”, “3 weeks”, “6 months”, “2 years”.this|next <weekday>|week|month|year
, e.g.: “this wednesday”, “next monday”, “next week”, “next month”, “next year”.first|second|third|last|previous <weekday> of <month> <year>
, e.g.: “first tuesday of june”, “last friday of may”, “second wednesday of july”, “third friday of august 2023”.
- Clicking in the date field's textbox will open up the calendar picker.
NOTE: A text interpretation of a date can be converted but be mindful of the calendar context as they might be converted but do so in the past. For example, the text "first Monday of March" will be converted to 03/07/2022 instead of 03/06/2023, this is because, at the time of writing, the calendar year is 2022 and our logic will convert the text to a date in that year. To solve this, try specifying the future year, e.g. "first Monday of March 2023".
Comments
0 comments
Article is closed for comments.