# Month (DateTimeOffset)

| **Name**    | ***Month with Offset***                                                       |
| ----------- | ----------------------------------------------------------------------------- |
| Syntax      | Month (DateTimeWithOffset dateTime)                                           |
| Purpose     | To return the month part of the specified date time offset value.             |
| Description | Returns the month part of the specified date.                                 |
| Return Type | Int64                                                                         |
| Parameter   | dateTime \[System.DateTimeOffset] – Date for which the month will be returned |

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

**Example**

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

This function accepts the following date formats:

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

Where,

*dateTime* = 11/12/2013

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

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

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