# ToString (DateValue)

| **Name**    | ***ToString (Date Value)***                                                             |
| ----------- | --------------------------------------------------------------------------------------- |
| Syntax      | ToString (Date value)                                                                   |
| Purpose     | To convert a date value into a string using default culture.                            |
| Description | Returns a string that represents the specified date. If date is null, null is returned. |
| Return Type | String                                                                                  |
| Parameters  | value \[System.DateTime] – Date to be converted                                         |

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

**Example**

In this example, we will pass a date value to the function transformation object using a *Variables* object.

Where,

*value* = 01/09/1994

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FJgL2jttpce487cCmsbIr%2F1.png?alt=media" alt=""><figcaption></figcaption></figure>

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

In the output window, you can see that our provided date value has been successfully parsed, indicating that the date has been converted into a string value.

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FKWNGaYJ8fzmXWebjgN2b%2F3.png?alt=media" alt=""><figcaption></figcaption></figure>

This conversion is also evident if we map the output value to a destination file. As shown below, the data type for this value has been converted to string:

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