Document now()

This commit is contained in:
Bruce Hill 2024-09-29 20:13:00 -04:00
parent 05515d8645
commit f03587be8d

View File

@ -169,3 +169,28 @@ Nothing, aborts the program.
```markdown
fail("Oh no!")
```
---
### `now`
**Description:**
Gets the current time. This is an alias for `DateTime.now()`.
**Usage:**
```markdown
now() -> DateTime
```
**Parameters:**
None.
**Returns:**
The current moment as a DateTime.
**Example:**
```markdown
>> now()
= Sun Sep 29 20:12:33 2024
```