---
url: >-
  /statelake/scripting-reference/functions-and-procedures/datetime-functions/tomorrow.md
---

# Tomorrow

The **Tomorrow** function returns the date of the day that follows after the current date, as a **TDateTime** data type.

The value does not include time, which is set to 00:00:00.

Declaration: Function Tomorrow: TDateTime;

A example showing the function used along with **FormatDateTime**. If the current date is 23/11/2023, then **Tomorrow** would return 24/11/2023.

```pascal
procedure ScriptEvent (var Value : variant);
 var myvariable : TDateTime;
begin
 //Date function returns the current date without time
  myvariable := Tomorrow;
  LogInfo('The date is ' +FormatDateTime('dd/mm/yyyy', myvariable));
end;
```

For additional information, please see [DateTime (TDateTime)](/statelake/scripting-reference/data-types/datetime-tdatetime).
