Obtains the date of the time zone of the devide through the received date. It should be informed user_code to determine to the device, because it will be the one the user is connected to, in case he does not inform himself he will take the one of the user who executes.
<date /> ?
|Auser-code||String||User that you want to take the time zone, the last device with which the user has connected to the system will be obtained.|
Convert the date obtained in the expression to date in time zone of the last device to which the indicated user connected.
<xsql-script> <body> <select prefix='m_'> <columns> date_updated </columns> <from table='gmed_paises' /> <where> codigo='ES' </where> </select> <println> <mobile.getDateInDeviceTimeZone user-code="jab"> <m_date_updated/> </mobile.getDateInDeviceTimeZone> </println> </body> </xsql-script>