This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:miscellaneous:now [2014/10/22 14:23] igor |
en:public:developer:template_system:tags:miscellaneous:now [2014/10/22 14:23] (current) igor |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== <#abs> ====== | + | ====== <#now> ====== |
- | Return the absolute value of integer, int64 or float value given in the parameter "value". So, for the value "-45" it will return "45". | + | Return the current date time. You can control the output with the generic parameter |
- | + | [[en:public:developer:template_system:tags:parameters:format]] | |
- | + | ||
- | ==== Parameters ==== | + | |
- | + | ||
- | ^ Name ^ Mandatory ^ Description ^ | + | |
- | | <html><span style="color:#008000">value</span></html> | Yes | The value to return its absolute value. | | + | |
==== Example ==== | ==== Example ==== | ||
Line 13: | Line 8: | ||
<code> | <code> | ||
- | <#abs value="-3"> | + | <#now format='yyyy'> |
</code> | </code> | ||
Line 21: | Line 16: | ||
<code> | <code> | ||
- | 3 | + | 2013 |
</code> | </code> | ||