User Tools

Site Tools


transformations:calendar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
transformations:calendar [2021/03/14 01:01] craigttransformations:calendar [2021/04/02 04:33] (current) – [Examples] dmitry
Line 1: Line 1:
 {{ transformations:CalendarAction.png}} {{ transformations:CalendarAction.png}}
 ====== CALENDAR ====== ====== CALENDAR ======
-Category: Create / Generate+Category: Create / Generate\\
  
 +\\ 
 =====Description===== =====Description=====
 This action creates a table with a list of dates for a specified date range. One row corresponds to one day.  Start and end dates can be defined as an absolute or relative date, or defined by a parameter.\\ This action creates a table with a list of dates for a specified date range. One row corresponds to one day.  Start and end dates can be defined as an absolute or relative date, or defined by a parameter.\\
 +
 +\\ 
 +=====Use cases=====
 +Use this action when you need to create a dataset of date-based values (days, weeks, weekdays, months, or years) to be used downstream.
  
 \\  \\ 
Line 10: Line 15:
 ====From==== ====From====
 ^ Setting  ^ Description  ^ ^ Setting  ^ Description  ^
-|Date|Select an absolute starting date value using the date-picker.|+|Date<sup>*</sup>|Select an absolute starting date value using the date-picker.|
 |Today|Set the starting date as today's date (relative).| |Today|Set the starting date as today's date (relative).|
-|# days back|If the //To// setting is either an absolute date or Today, this sets the starting time as the number of days prior to the //To// date.\\  If //To// is set to //# of days ahead//, this setting will be disabled.| +|# days back<sup>*</sup>|If the //To// setting is either an absolute date or Today, this sets the starting time as the number of days prior to the //To// date.\\  If //To// is set to //# of days ahead//, this setting will be disabled.| 
 +<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ 
 +\\ 
 ====To==== ====To====
 ^ Setting  ^ Description  ^ ^ Setting  ^ Description  ^
-|Date|Select an absolute ending date value using the date-picker.|+|Date<sup>*</sup>|Select an absolute ending date value using the date-picker.|
 |Today|Set the ending date as today's date (relative).| |Today|Set the ending date as today's date (relative).|
-|# days ahead|If the //From// setting is either an absolute date or Today, this sets the ending time as the number of days after the //From// date.\\  If //From// is set to //# of days behind//, this setting will be disabled.| +|# days ahead<sup>*</sup>|If the //From// setting is either an absolute date or Today, this sets the ending time as the number of days after the //From// date.\\  If //From// is set to //# of days behind//, this setting will be disabled.| 
 +<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ 
 +\\ 
 ====Columns==== ====Columns====
 These options define the columns that will be included in the generated dataset.  //At least one// option must be selected.  All options will generate a value for each date in the specified date range. These options define the columns that will be included in the generated dataset.  //At least one// option must be selected.  All options will generate a value for each date in the specified date range.
Line 32: Line 39:
 |Day of week (name)|Generates a list of weekday full names (e.g. "Sunday").| |Day of week (name)|Generates a list of weekday full names (e.g. "Sunday").|
 |Weekend flag|Generates a list of Boolean values (TRUE/FALSE) defining whether the date falls on a weekend day\\ (Saturday or Sunday = TRUE), or not (FALSE).| |Weekend flag|Generates a list of Boolean values (TRUE/FALSE) defining whether the date falls on a weekend day\\ (Saturday or Sunday = TRUE), or not (FALSE).|
- 
-\\  
-=====Use cases===== 
-Use this action when you need to create a dataset of date-based values (days, weeks, weekdays, months, or years) to be used downstream. 
  
 \\  \\ 
Line 51: Line 54:
 |Weekend flag|TRUE| |Weekend flag|TRUE|
  
- +\\ 
 +=====See also===== 
 + * [[transformations:makedatetimecolumns|Make Date/Time Columns]]
transformations/calendar.txt · Last modified: 2021/04/02 04:33 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki