The main function of this method: Get the complete device time
The specific use cases are as follows:
local code, timestr = World:getLocalDateString()
if code == ErrorCode.OK then
print('Execution successful', code, timestr )
else
print('Execution failed')
end