Difference between revisions of "Live Inline Expressions"

From MSX - Wiki
Jump to navigation Jump to search
(Created page with "Some live content properties support live inline expressions for adding formatted dates and times of the current state. {| class="wikitable sortable" |+ Expression syntax of...")
 
Line 2: Line 2:
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
|+ Expression syntax of live expressions
+
|+ Expression syntax of live inline expressions
 
|-
 
|-
 
! Expression !! Example !! Since Version !! class="unsortable" | Description  
 
! Expression !! Example !! Since Version !! class="unsortable" | Description  

Revision as of 13:51, 14 January 2021

Some live content properties support live inline expressions for adding formatted dates and times of the current state.

Expression syntax of live inline expressions
Expression Example Since Version Description
{creation:date:{LIVE_DATE_FORMAT}} {creation:date:mm/dd/yy} 0.1.70

Date of creation timestamp of the live object in live date format. The {LIVE_DATE_FORMAT} part must be replaced with the format. Please see Live Date Format for possible values.

{creation:time:{LIVE_TIME_FORMAT}} {creation:time:hh:mm:ss} 0.1.70

Time of creation timestamp of the live object in live time format. The {LIVE_TIME_FORMAT} part must be replaced with the format. Please see Live Time Format for possible values.

{from:date:{LIVE_DATE_FORMAT}} {from:date:mm/dd/yy} 0.1.70

Date of start timestamp of the live object in live date format. The {LIVE_DATE_FORMAT} part must be replaced with the format. Please see Live Date Format for possible values.

{from:time:{LIVE_TIME_FORMAT}} {from:time:hh:mm:ss} 0.1.70

Time of start timestamp of the live object in live time format. The {LIVE_TIME_FORMAT} part must be replaced with the format. Please see Live Time Format for possible values.

Note: This expression only returns a value if the type property of the live object has been set to "schedule" or "lifetime".