首页 › 答案 › 题库 › 慕课 › 未分类

只显示当天的年-月-日使用下面哪一条命令?()

只显示当天的年-月-日使用下面哪一条命令?()
A.date
B.date+%Y-%m-%d
C.date-%Y-%m-%d
D.date+%H:%M:%S
正确答案:date+%Y-%m-%d