Date command summary, date command
The date command displays or sets the system time and date.
Date (option) (parameter)
-D : displays the date and time specified by the string. Double quotation marks must be added before and after the string;-S :
[U-boot: v2013.07-RC3]
[Author: Bo Shen ]
1. enable the date command
It needs to be defined: config_1__date. Because the date command reads the time in RTC, you must use the relevant SOC built-in RTC driver or the RTC chip on the board. Depends on
Date command
The function of the date command is to display and set the system date and time.
The general format for this command is: date [options] Displays the time format (beginning with +, followed by formatting)
Date set time format
The
Linux basic command date command, linuxdate command
1. Time Command: date
The parameter passed to the date command applies to '+' (plus sign). In the parameter passed
% Y indicates year
% M indicates month
% D Indicates day
% H indicates the
What a joke, the date order is not simple, before also introduced AH. Yes, the use of the date command is simple, today we say the small use of the date command. In some cases, if you think of the date command, it will provide a lot of convenience
The function of the date command is to display and set the system date and time.
The general format for this command is: date [options] Displays the time format (beginning with +, followed by formatting)
Date set time format
The meanings of the
Display time is a commonly used command. It is often used to display date-related file names or times in shell scripts. The date command is used in both Linux and Windows.
Date command usage in Linux
Date [Option]… [+ Format]
Date [-u | -- UTC | -
Linux date command and linuxdate commandCommand Overview
The date command can be used to set and display the current time of the system. In particular, the date command is used in some Shell commands to display different dates. Therefore, this
Date--helpUsage: date [options] ... [+ format]Or: Date [-u|--utc|--universal] [MMDDHHMM[[CC]YY][.SS]]Displays the current time in the given format, or sets the system date.-D,--date= string displays the time described by the specified string, not
1. Time Command: DateThe pass parameter to the date command applies ' + ' (plus), in the passed argument%y represents the year%m represents the Month%d indicates days%h = Hour (indicates the time is 00-23)%m = minutes%s = seconds%s (the number of
DateCommandThe function of the date command is to display and set the system date and time.The general format for this command is: date [options] Displays the time format (beginning with +, followed by formatting)Date set time formatThe meanings of
8.7 "Linux learning is not difficult" Linux Common Operations Command (7): Date command to display or set the system day and timeuse the date command to display and set the dates and times of a computer system. Only Superuser has permission to use
The date command is a common command in Linux, and the main function is to display the current time of the machine. As follows:In my Linux operating system, the date command is implemented by default in the format of month-day-week-hour, and then
How to modify the Linux system time (date command) Source: Internet anonymous time: 11-18 23:22:27 "Big small" date command can not only display the current time of the system, but also can use it to modify the system time, the following simple
Date Modified:The order of 5 months ' time is set as follows:#date-S 05/18/2016Modification Time:The command to set the system time to ten minutes in the morning is as follows. #date-S 10:10:40To modify the time zone:Locate the appropriate time
20.1 Shell IntroductionShell is a scripting languageYou can use logical judgments, loops, and other syntaxCustomizable functionsThe shell is a collection of system commandsShell scripts enable automated operations, which can greatly increase our
The date command is used to display the time, and the CAL command is used to display the calendar.Some of the common formats for the date command are%H hours (expressed in 00-23). %I Hours (expressed in 01-12). %K hours (expressed in 0-23). %l hours
67. Shell Script Introduction, shell script structure and execution, date command usage, variables in shell scriptFirst, Shell script introductionThe shell is a scripting language aming_linux blog.lishiming.netYou can use logical judgments, loops,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.