Added part of docs
Some checks failed
docs / deploy (push) Has been cancelled
docs / build (push) Has been cancelled

This commit is contained in:
Patryk Gensch
2026-05-19 20:51:59 +02:00
parent e91fd2e42a
commit df6cf2f3d3
66 changed files with 11821 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# SYSTEM
The built-in object exposing operating-system information. Available under the global name `SYSTEM` from any context (see [Built-in objects](../engine/globals.md#built-in-objects)).
## Methods
### GETDATE
```
INTEGER GETDATE()
```
Returns the current date encoded as an integer in the format `(year-2000)*10000 + month*100 + day`. For example, `26 March 2026` becomes `260326`.
**Returns**: the encoded date.
### GETMHZ
```
INTEGER GETMHZ()
```
Returns the processor's clock frequency in megahertz.
**Returns**: the CPU frequency in MHz.
### GETSYSTEMTIME
```
INTEGER GETSYSTEMTIME()
```
Returns the operating system's uptime in milliseconds.
**Returns**: the uptime in milliseconds.