# DateTimeOffsetNow ()

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

**Example**

![](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/0%20\(159\).png)

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

![](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/1%20\(160\).png)

Current system time:

![](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/2%20\(160\).png)

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

![](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/3%20\(30\).png)
