getDateFromTime

local code, ret = World:getDateFromTime(time, enum)
if code == ErrorCode.OK then
print('Execution successful', code, ret )
else
print('Execution failed')
end