Skip to main content


This article explains how (and when) to use "today/now" date expressions. It also gives you an example knowledge map to explore "today/now" date expressions inside the Rainbird Studio.

In Rainbird, concepts can be ‘date’ concepts. Date concepts should be used when a date will be either input into or output by Rainbird. Rainbird can use date expressions to transform and calculate dates. Date expressions can be combined with other date, transformative and comparative expressions to ‘retrieve’, ‘add’, ‘subtract’ or ‘compare’ time. This section will focus on two date expressions, today() and now():

today(): Rainbird is able to generate today’s date at midnight as a value (e.g. if it’s the 2nd of February 2021, Rainbird would generate 2021-02-02 00:00:00) and use the value in expressions.

now(): Rainbird is able to generate the date and time the query is run at as a value(e.g. if it’s the 2nd of February 2021 12PM, Rainbird would generate 2021-02-02 12:00:00) and use the value in expressions.

For more information on today/now, click on a subtopic below:

  1. today/now - Understanding today/now
  2. today/now - Example Map
  3. today/now - Downloadable Knowledge Map
0 questions
0 posts

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

today/now - Understanding today/now

When using today() or now() in expressions that use number and/or string concepts, Rainbird will convert the date/time to the amount of milliseconds from the 1st of January 1970 to either 00:00:00 on today’s date for today() or the... (More)

today/now - Downloadable Map

When viewing the knowledge map created by the file below, please run the query on the relationship ‘says' for an example of a query that uses the today()/now() expressions. The other two relationships, today and now, will display the date/current... (More)

today/now - Example Map

This article will demonstrate how to build a map that will use the today() and now() expressions to return a different greeting, depending on what time of the day the query is run at.

1. First, create two string concepts... (More)

.menu.bell.icon {color: #1c083b;}