# Day (Date dateTime)

| **Name**    | ***Day***                                                             |
| ----------- | --------------------------------------------------------------------- |
| Syntax      | Day (Date dateTime)                                                   |
| Purpose     | To return the day of the month from the specified datetime value.     |
| Description | Gets the day part of the date time value.                             |
| Return Type | Int64                                                                 |
| Parameter   | dateTime \[System.DateTime] – Date for which the day will be returned |

**Example**

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

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

Where,

*dateTime* = 10/30/2015

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

In the output window, you can see that the day part of the provided date time value has been returned.

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