This function allows to obtain the millisecond of the inserted date.
1 date.millisecond
<date.millisecond>
<var /> ?
</date.millisecond>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evar | Timestamp |
Returns | |
---|---|
Type | Description |
Integer | Gets the millisecond of the date. |
Example
Copy
<xsql-script name='date_millisecond_sample1'> <body> <!-- Returns the current milliseconds--> <set name='var'> <date.current /> </set> <println><date.millisecond><var /></date.millisecond></println> </body> </xsql-script>