Returns the number of the day of the indicated date.
 

1 date.day

<date.day>
    <var /> ?
</date.day>
Example
Copy
<xsql-script name='date_day_sample1'>
    <body>
        <set name='var'><date format='dd-MM-yyyy'>09-02-2005</date></set>
        <println><date.day><var /></date.day></println>
    </body>
</xsql-script>

Returns:

Copy
9

Notas

If you want to enter the date with language and country as attributes, you should use the function date.dayOfMonth.