feat(v1.4.1): add native proposal module, Lover Accept Checker AI, and modules documentation catalog
This commit is contained in:
1 parent
4895c201c1
commit
b7ae6c9725
20 files changed
+600
-34
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# ⏱️ AiraLang `time` Module
|
||||
> **Time, Clock & Sleep Utilities**
|
||||
|
||||
## Import
|
||||
```aira
|
||||
import "time";
|
||||
```
|
||||
|
||||
## Methods
|
||||
- `time.now()`: Formatted current timestamp (`YYYY-MM-DD HH:MM:SS`).
|
||||
- `time.time()`: Unix epoch timestamp in seconds.
|
||||
- `time.sleep(seconds)`: Pause thread execution.
|
||||
|
||||
## Example
|
||||
```aira
|
||||
import "time";
|
||||
|
||||
say "Start: " + time.now();
|
||||
time.sleep(1);
|
||||
say "End: " + time.now();
|
||||
```
|
||||
Reference in new issue
Block a user