Returns the current date.

# 1 date.today

<date.today />
Example

Show the current date.

Copy
<xsql-script name='date_today_sample1'>
<body>
<set name='var'><date.today /></set>
<println><var /></println>
</body>
</xsql-script>

Return the number of days since the beginning of the year.

Example

Show the current date.

Copy
<xsql-script name='date_today_sample1'>
<body>
<set name='var'><date.today /></set>
<println><var /></println>
</body>
</xsql-script>

The logical combinatorial between tags is possible, in this example you can check.