Skip to main content

dayOfWeek / dayOfMonth / dayOfYear / monthOfYear / year
dayOfWeek / dayOfMonth / dayOfYear / monthOfYear / year

This article explains how you can create date expressions to retrieve a required value from a date instance, including dayOfWeek / dayOfMonth / dayOfYear / monthOfYear / year.

The expressions discussed in this section are used by Rainbird to retrieve a required value from a date instance that has been created at runtime or that exists in the map.

Click on one of the expressions below for information on how to use the expression and an example model using each expression: 

  • dayOfWeek: determines the day of the week as a numerical value (1-7, with Monday = 1, Tuesday = 2 etc)
  • dayOfMonth: extracts the day value from a date (e.g. Rainbird would extract 12 if the date instance was 12th of February 2021)
  • dayOfYear: counts the number of days a date is into a year (e.g. Rainbird would count 43 days if the date instance was 12th of February 2021)
  • monthsOfYear: determines the month of the year as a numerical value (1-12, with January = 1, February =2 etc)
  • year: extracts the year from a date (e.g. Rainbird would extract 2021 if the date instance was 12th of February 2021)
  • dayOfWeek / dayOfMonth / dayOfYear / monthOfYear / year - Downloadable Model
0 followers
0 questions
0 posts

You will need to register to be able to post or comment on a topic.  

No items available at this time.
.menu.bell.icon {color: #1c083b;}