|
| Previous: 3.10.18 STAT | TOC | Index | Back | Next: 3.10.20 WAIT |
SYS.TIME(tbuf) ! Bvec => 0
Fill the buffer 'tbuf' with the current system time. 'Tbuf' must provide eight bytes of space which will be filled as follows:
| Field | Value | Range |
|---|---|---|
| tbuf::0 | year / 100 | 19... |
| tbuf::1 | year mod 100 | 0...99 |
| tbuf::2 | month | 1...12 |
| tbuf::3 | day | 1...31 |
| tbuf::4 | hour | 0...23 |
| tbuf::5 | minute | 0...59 |
| tbuf::6 | second | 0...59 |
| tbuf::7 | second/100 | 0...99 |
TIME never fails and always returns 0. It might deliver an incorrect time, though, and on systems without a clock, it may fill 'tbuf' with the same values each time it is called.
| Previous: 3.10.18 STAT | TOC | Index | Back | Next: 3.10.20 WAIT |