Wiki source code of Date
Version 1.1 by Outhman Moustaghfir on 2024/02/20 16:20
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | === Overview === | ||
2 | |||
3 | |||
4 | function in XSLT is designed to return the current date formatted according to the specified date format and time zone. | ||
5 | |||
6 | |||
7 | = Parameters = | ||
8 | |||
9 | * date format : The format parameter specifies the desired format for the output date(Required). | ||
10 | |||
11 | = Uses = | ||
12 | |||
13 | {{code language="XML"}} | ||
14 | <TEST><xsl:value-of select="ixf:Date('dd/MM/yyyy')"></xsl:value-of></TEST> | ||
15 | {{/code}} | ||
16 | |||
17 | = Return: = | ||
18 | |||
19 | The function returns the current date formatted according to the specified date format. |