Navigation Structure
Table of contents
Time management is included in funcml-core.
$now
Special variable returning the current time object. Must be converted to string using _time function.
Usage
key:
_time:
value: "$now"
will be rendered as:
key: "14/07/2024 15:54:06"
A format
argument is supported to change the time representation in the output.
key:
_time:
value: "$now"
format: "%H:%M"
will be rendered as:
key: "15:54"
_ago
Returns a time object with seconds delta from now.
Usage
key:
_time:
format: "%H:%M"
value:
_ago: 600
will be rendered as:
key: 15:24