TMREAD
Root / Documentation / [.]
Created:
Decompose a timestamp string to numbers.
* Syntax
```sbsyntax
TMREAD { timestamp$ } OUT hour%, minute%, second%
```
|* Input | Description |
| `timestamp$` | The timestamp to convert. (optional)\
If omitted, the value of `TIME$` is used. |
|* Output | Description |
| `hour%` | The hour contained in `timestamp$`. |
| `minute%` | The minute contained in `timestamp$`. |
| `second%` | The second contained in `timestamp$`. |
* Examples
```sb4
'read the current time
VAR HR%,MN%,SC%
TMREAD OUT HR%,MN%,SC%
```
```sb4
'read the given timestamp
VAR HR%,MN%,SC%
TMREAD "01:23:45" OUT HR%,MN%,SC%
```
No posts yet (will you be the first?)