Returns the current date next to the hour, minutes and seconds.
1 date.current
<date.current />
Returns | |
---|---|
Type | Description |
Timestamp | The current date. |
Example
Show the date next to the hour.
Copy
<xsql-script name='date_current_sample1'> <body> <set name='var'><date.current/></set> <println><var /></println> </body> </xsql-script>
Returns:
Copy
22-09-2016 15:58:15