> For the complete documentation index, see [llms.txt](https://docs.dbnetsoft.com/dbnetsoft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dbnetsoft.com/dbnetsoft/remoteredirect/configuration/operating-modes/display/scripting/variables.md).

# Variables

## Model

The variable `Model` is available in every scene script and has the following properties.&#x20;

In Script: `Model.`*`NameOfVariable`*

<table><thead><tr><th>Name</th><th width="165">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>Model.Clock</code></td><td>DateTimeOffset</td><td>Current time of day including optional time offset  set on link</td></tr><tr><td><code>Model.UtClock</code></td><td>DateTimeOffset</td><td>Current time in UTC</td></tr><tr><td><code>Model.ReferenceTime</code></td><td>DateTimeOffset?</td><td>Reference time set on link. Usually this is the start time of day</td></tr><tr><td><code>Model.HasRerenceTime</code></td><td>Bool</td><td>Checks for a rference time is set</td></tr><tr><td><code>Model.Countdown</code></td><td>TimeSpan?</td><td>Current countdown if reference time is set reference time is in the future</td></tr><tr><td><code>Model.IsCountdown</code></td><td>Bool</td><td>Checks for is before reference time</td></tr><tr><td><code>Model.Runtime</code></td><td>TimeSpan?</td><td>Current runtime if reference time is set and reference time is in the past</td></tr><tr><td><code>Model.IsRuntime</code></td><td>Bool</td><td>Checks for is after reference time</td></tr></tbody></table>

## Model.Scene

This variable holds information on the currently selected scene.

In Script: `Model.Scene.`*`NameOfVariable`*

<table><thead><tr><th>Name</th><th width="165">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>Model.Scene.UserDesxcription</code></td><td>String?</td><td>User given name of the scene</td></tr><tr><td><code>Model.Scene.DisplayTargetTime</code></td><td>DateTimeOffset</td><td>Target timeo f the scene only</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dbnetsoft.com/dbnetsoft/remoteredirect/configuration/operating-modes/display/scripting/variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
