# DateTimeOffsetUtcNow ()

| **Name**    | ***DateTimeOffsetUtcNow***                                         |
| ----------- | ------------------------------------------------------------------ |
| Syntax      | DateTimeOffsetUtcNow ()                                            |
| Purpose     | To return the current UTC date and time of the machine (computer). |
| Description | Gets the system’s current UTC date and time.                       |
| Return Type | Date TimeOffset                                                    |
| Parameter   | -                                                                  |

**Example**

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FsOItCNbVqPlA7398mscJ%2F0.png?alt=media)

In this example, we will drag-and-drop the *DateTimeOffsetUtcNow* function transformation object to the *dataflow designer* window.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FWj8VcEeVak5jf8R1wGL8%2F1.png?alt=media)

Current system time:

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FbFZyiJncNcBOLlV03WYM%2F2.png?alt=media)

Right-click on the function transformation object and select *Preview Output.* You can see that Astera Data Stack has returned the current UTC system date and time.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2F0ZaQOAdnWqUFLsZFIRJr%2F3.png?alt=media)
