mqscript_datetime_now
Retrieve current date and time in MQScript automation scripts for mobile device control, with customizable formatting options.
Instructions
Get current date and time
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Date format string | yyyy-MM-dd HH:mm:ss |
resultVariable | No | Variable name to store result | now |
Input Schema (JSON Schema)
{
"properties": {
"format": {
"default": "yyyy-MM-dd HH:mm:ss",
"description": "Date format string",
"type": "string"
},
"resultVariable": {
"default": "now",
"description": "Variable name to store result",
"type": "string"
}
},
"required": [],
"type": "object"
}