Files
marqdo/lib/时间.mq.md
T
cflmyandCursor 63e5be80ab Add v0.2 surface syntax, writeback/subtask stdlib, and view input deferral.
Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 17:52:33 +08:00

30 lines
388 B
Markdown

---
title: lib/时间
description: 中文时间包装
---
## 此刻秒
**> host_now_unix**
## 此刻毫秒
**> host_now_ms**
## 格式化
+ `秒`
+ `格式`
**> host_format_time unix=`秒` pattern=`格式`**
## 睡眠毫秒
+ `毫秒`
**> host_sleep_ms ms=`毫秒`**
## 解析时间
+ `内容`
+ `格式`
**> host_parse_time text=`内容` pattern=`格式`**