[Date->Max] gets the maximum possible value for one field of the date. Requires one of the following keywords below.
Only one maximum value can be fetched at a time. The maximum value is dependent on the current date/time. For example, the -DayOfMonth selector will return the number of days in the current month.
|-weekofyear||week of year|
|-weekofmonth||week of month|
|-dayofmonth||day of month|
|-dayofyear||day of year|
|-dayofweek||day of week|
|-dayofweekinmonth||day of week in month|
|-hourofday||hour of day|
|-zoneoffset||time zone offset|
|-dstoffset||daylight savings time offset|
|-yearwoy||year week of year|
|-dowlocal||local day of week|
|-millisecondsinday||milliseconds in day|
Use the [Date->Max] method. The following example gets the maximum value for the day of month field of a date.
Note there is a bug in this method for the keyword parameters -day and -dayofmonth. See:
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.