当前位置:网站首页>程序员应该怎么查日期
程序员应该怎么查日期
2022-06-22 18:33:00 【涛歌依旧】
程序员应该怎么查日期呢?
我看到有的程序员喜欢用百度来查日期,哈哈,难道不知道有人爱笔试这玩意儿吗?
直接用cal命令吧:
[email protected]:~$ man cal
CAL(1) BSD General Commands Manual CAL(1)
NAME
cal, ncal displays a calendar and the date of Easter
SYNOPSIS
cal [-3hjy] [-A number] [-B number] [[month] year]
cal [-3hj] [-A number] [-B number] -m month [year]
ncal [-3bhjJpwySM] [-A number] [-B number] [-s country_code] [[month] year]
ncal [-3bhJeoSM] [-A number] [-B number] [year]
ncal [-CN] [-H yyyy-mm-dd] [-d yyyy-mm]
比如,直接cal -3:

下次,真的别百度了。
用命令行多快捷。
边栏推荐
- 生产系统SQL执行计划突然变差怎么办?
- Nlp-d57-nlp competition D26 & skimming questions D13 & reading papers & finding bugs for more than an hour
- calendar控件编程
- 【深入理解TcaplusDB技术】TcaplusDB常规单据
- Assign values to objects
- 1.4----- PCB design? (circuit design) determination scheme
- matlab调用API
- [deeply understand tcapulusdb technology] cluster management operation
- 【深入理解TcaplusDB技术】TcaplusDB机型管理
- Calendar control programming
猜你喜欢
随机推荐
Antd tree tree tree selector subclass required
MySQL数据库DQL查询操作
Comparison of NAND flash particles SLC, MLC, TLC and QLC
1.2-----机械设计工具(CAD软件)和硬件设计工具(EDA软件)及对比
84. (cesium chapter) movement of cesium model on terrain
拓扑排序
【深入理解TcaplusDB技术】TcaplusDB机型管理
冒泡排序、选择排序、直接插入排序
Calendar control programming
C #, introductory tutorial -- a little knowledge about function parameter ref and source program
Nrf51822 peripheral learning
小甲鱼老师《带你学C带你飞》的后续课程补充
卡尔加里大学|基于强化学习的推荐系统综述
第六章 操作位和位串(二)
插值查找和折半(二分)查找
第一篇 热身--隐式类型转换还是其他?
【深入理解TcaplusDB技术】TcaplusDB机器如何初始化和上架
0.1----- process of drawing PCB with AD
MySQL数据库DQL练习题
自定义控件AutoScaleMode为Font造成宽度增加的问题








