Minute (Date dateTime)
Name | Minute |
Syntax | Minute (Date dateTime) |
Purpose | To return the minute part of the specified date time value. |
Description | Returns a value between 0 and 59 representing the minute part of the specified date time value. |
Return Type | Int64 |
Parameter | dateTime [System.DateTime] – Date for which the minute will be returned |
Example
![](https://documentation.astera.com/~gitbook/image?url=https%3A%2F%2Fgithub.com%2Fastera-software%2FAstera_Data_Stack_v9%2Fblob%2Fmain%2F.gitbook%2Fassets%2F0%2520%28148%29.png&width=768&dpr=4&quality=100&sign=87da5fd&sv=1)
In this example, we will pass a date time value to the function transformation object using a Variables object.
Where,
dateTime = 06:40:35 AM
![](https://documentation.astera.com/~gitbook/image?url=https%3A%2F%2Fgithub.com%2Fastera-software%2FAstera_Data_Stack_v9%2Fblob%2Fmain%2F.gitbook%2Fassets%2F1%2520%28149%29.png&width=768&dpr=4&quality=100&sign=a16ea493&sv=1)
In the output window, you can see that the minute part of the provided date time value has been returned.
![](https://documentation.astera.com/~gitbook/image?url=https%3A%2F%2Fgithub.com%2Fastera-software%2FAstera_Data_Stack_v9%2Fblob%2Fmain%2F.gitbook%2Fassets%2F2%2520%28149%29.png&width=768&dpr=4&quality=100&sign=a52c69ec&sv=1)