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 |
Example Return Value: 0 to 59
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:
|
JSON Sample
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 |
|
| Sample |