Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llGetTimeOfDay C# (CSharp) Method

llGetTimeOfDay() public method

public llGetTimeOfDay ( ) : Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLFloat
return Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLFloat
        public LSL_Float llGetTimeOfDay() // this is not sl compatible see wiki
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return new LSL_Float();

            return (DateTime.Now.TimeOfDay.TotalMilliseconds / 1000) % (3600 * 4);
        }
LSL_Api