Files
tldr/pages.zh/openbsd/cal.md

32 lines
525 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 日历
> 显示一个高亮当前日期的日历。
> 更多信息:<https://man.openbsd.org/cal>。
- 显示当前月份的日历:
`cal`
- 显示特定年份的日历:
`cal {{年份}}`
- 显示特定月份和年份的日历:
`cal {{月份}} {{年份}}`
- 显示当前 [年] 的日历:
`cal -y`
- 显示 [j]ulian 天数从1开始从1月1日开始编号
`cal -j`
- 使用 [m]onday 作为周的开始,而不是星期天:
`cal -m`
- 编号 [w] 周数(与 `-j` 不兼容):
`cal -w`