Returns the date and time of the user's last position.
1 system.user.getGPSDate
<system.user.getGPSDate code='code'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Acode | string | User code. |
Returns | |
---|---|
Type | Description |
string | Date of the gps register. |
Example
Obtain the date and time of the obtaining of the gps position.
Copy
<xsql-script name='system_user_getGPSDate_sample1'> <body> <println> <system.user.getGPSDate /> </println> </body> </xsql-script>
If you do not passe a user code via the attribute code, the system returns the value related with the user which executes the command.
Example
Obtain the date and time of the specific user.
Copy
<xsql-script name='system_user_getGPSDate_sample2'> <body> <println> <system.user.getGPSDate code='bpr'/> </println> </body> </xsql-script>
Informing the attribute code, the system returns the value related with the specified user code.