# maketime - script and chart function

This function returns a time calculated from the hour hh, the minute mm, and the second ss.

Syntax:

MakeTime(hh [ , mm [ , ss ] ])

**Return data type:** dual

Arguments:

MakeTime arguments

| Argument | Description |
| --- | --- |
| hh | The hour as an integer. |
| mm | The minute as an integer.<br><br>If no minute is stated, 00 is assumed. |
| ss | The second as an integer.<br><br>If no second is stated, 00 is assumed. |

Examples and results:

Examples and results

| Example | Result |
| --- | --- |
| `maketime( 22 )` | returns 22:00:00 |
| `maketime( 22, 17 )` | returns 22:17:00 |
| `maketime( 22, 17, 52 )` | returns 22:17:52 |