---
url: /flow/guide/scripting-reference/functions/datetime/now.md
---

# Now

## Declaration

`function Now : TDateTime`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Now; //the current date and time accurate to a millisecond
end;
```

## Description

Returns the current date as a [Datetime (TDateTime)](/flow/guide/scripting-reference/data-types/datetime). The date does includes the time accurate to the millisecond.
