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); }