--- title: "MINUTE(A)" slug: "datetimetransform-template-4" updated: 2021-11-11T17:20:38Z published: 2021-11-11T17:20:38Z canonical: "docs.datajet.app/datetimetransform-template-4" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # MINUTE(A) ## DateTime Transform: MINUTE(A) ## Returns the minute portion of DateTime A ## Purpose Use this function to: - Extract the minute section of the DateTime string ## Return Value | Property | Value | | --- | --- | | **FieldType** | Integer | | **FieldSize** | Med | | **DataType** | Discrete | | **DataSize** | Short | ```shell Example Return Value: 0 to 59 ``` ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/DT_MINUTE_Sample.PNG) ## Parameters | Parameter | JSON | Description | | --- | --- | --- | | **Table** | “targetTable”: “MyTableName” | The target table on which the new field will be created | | **Filter** | “dataset”: {DataSet_JSON} | Optional. If a filter is applied, records not in the filter Recordset will be returned as null. | | **DateTime Function** | “p1”: “MINUTE(A)” | MINUTE(A) | | **A** | “p2”: “DateTimeFieldName” “p2”: “#YYYY-MM-DD HH:MM:SS” | Required. DateTime from which to extract the minute *Supports:* - **DataType:** Continuous - **Field Type:** DateTime - **Fixed Value:** #YYYY-MM-DD HH:MM:SS, e.g. #2021-04-05 11:01:08 | ## JSON Sample ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/DT_MINUTE_JSON.PNG) ## Usage Notes See Also - HOUR(A)  (DateTime) - SECOND(A)  (DateTime) - Engineering | Expression Field ## Example | Example | Details | | --- | --- | | **Description** | Extract the minute of purchase from the purchase time | | **Input** | - Table: = [transactions] - Function: = DateTimeTransform - **DateTimeFunction: = MINUTE(A)** - A:= [transactions].[dtPurchase] - Name: =Purchase_Minute | | **Sample** | ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/DT_MINUTE_Example.PNG) |