NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{date-data:YearMonthDay|format=yyyy-MMM-dd}today{date-data}

{get-data:name=YearMonthDay|format=yyyy-MMM-dd}{get-data}

The data date data macro establishes the date, initially today's date when the macro was created. Afterwards, in the Edit Contents view select a new date from the calendar picker.

Date Data
nameYearMonthDay
formatyyyy-MMM-dd
today

The date selected changes and the get data macro displays the last date selected when the page is saved and refreshes automatically.

Get Data
nameYearMonthDay
formatyyyy-MMM-dd
separatornewline
 

...