diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 5016cd5098..2d858dc3f4 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -1542,8 +1542,7 @@ namespace OpenSim.Region.ScriptEngine.Common public double llGetTimeOfDay() { m_host.AddScriptLPS(1); - NotImplemented("llGetTimeOfDay"); - return 0; + return (double)(((DateTime.Now.TimeOfDay.Milliseconds / 1000) % (3600 * 4)) * World.TimeDilation); } public double llGetWallclock()