Files
marqdo/lib/时间.mq.md
T
cflmyandCursor a53ebb65ee Add host stdlib modules and unify view/run capabilities.
Ship fs/time/sys/json/net L1 libs (plus existing text/table), default-on host caps with soft exit under view, bilingual public/stdlib docs, and design notes for deferred math/foreign.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 10:03:54 +08:00

30 lines
373 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=`格式`**