marqdo

lib/时间 — 时钟ok

stdlib/时间.mq.md

文档

时间:lib/时间.mq.md

main

说明

Unix 时间助手(lib/时间)。格式为 strftime。

`s` = [时间.格式化] 秒=0 格式="%Y-%m-%d"
打印 内容=`s`
`u` = [时间.解析时间] 内容="1970-01-01 00:00:00" 格式="%Y-%m-%d %H:%M:%S"
打印 内容=`u`
[时间.睡眠毫秒] 毫秒=0
Functions
Variables
  • description text
    Unix 时间、格式化、解析、睡眠
  • markup text
    occlusion
  • s text
    1970-01-01
  • title text
    lib/时间 — 时钟
  • u int
    0
可执行知识(辅助)

运行与结果

1970-01-01 0
完整源码
---
markup: occlusion
title: lib/时间 — 时钟
description: Unix 时间、格式化、解析、睡眠
导入:
  时间: lib/时间.mq.md
---

# main

Unix 时间助手(lib/时间)。格式为 strftime。

**`s` = [时间.格式化] 秒=0 格式="%Y-%m-%d"**
**打印 内容=`s`**

**`u` = [时间.解析时间] 内容="1970-01-01 00:00:00" 格式="%Y-%m-%d %H:%M:%S"**
**打印 内容=`u`**

**[时间.睡眠毫秒] 毫秒=0**

Variable