diff options
Diffstat (limited to 'docs/README.md')
| -rw-r--r-- | docs/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/README.md b/docs/README.md index 364cd2ca..b04c3d0c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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 +``` |
