Skip to main content


This article explains how to create a date expression for the "dayOfYear" function. It also gives you an example knowledge map to explore the function inside the Rainbird Studio.

dayOfYear: Rainbird uses the dayOfYear function to calculate how many days a date instance, either created by the end-user at runtime or that exists in the map, is from the beginning of the year. For example, if the input date is 2021-02-04, the dayOfYear function would return the number 35.

The articles listed below will demonstrate how to create a map that will use a dayOfYear function to determine how many days into a year a date is.

  1. dayOfYear - Example Map Part 1: Creating Concepts & Relationships
  2. dayOfYear - Example Map Part 2: Creating The dayOfYear Rule and Running The Query
  3. dayOfWeek / dayOfMonth / dayOfYear / monthOfYear / year - Downloadable Model
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;}