Common parametersFormat: DateDisplays the current date time.Format: Date mmddhhmm # In short, it's the day of the month.Format: Date mmddhhmmyyyyFormat: Date MMDDHHMM.SSFormat: Date MMDDHHMMYYYY.SSSet the current date time, only the root user can
Local Test Cases:
# there can be no spaces on either side of the equal sign, before the error has been out here
yesterday= ' date-d last-day +%y-%m-%d '
echo $yesterday
curday= ' Date +%y-%m-%d '
echo $curday
echo "Now time: ' Date ' +%y%m%d%T '"
Preface
[Oracle] Date processing This article is for the "get the date of the Week" section of the above article unfolds.
Calculation criteria
Oracle supports two standards of time, one is Oracle's own standard, the other is ISO standard
1. Oralce
In the Linux environment, whether it is programming or other maintenance, time is essential, but also often use the operation of time, skilled use of the date command to express the time they want to express, can certainly give their work to bring
In the Linux environment, whether it is programming or other maintenance, time is essential, but also often use the time of the operation, skilled use of the date command to express the time you want to express, certainly can give their work to
Original URL: http://www.cnblogs.com/peida/archive/2012/12/13/2815687.htmlIn the Linux environment, whether it is programming or other maintenance, time is essential, but also often use the time of the operation, skilled use of the date command to
Description of UseThe ATE command can be used to display and modify the system datetime, noting that it is not a time command.Common parametersFormat: DateDisplays the current date time.Format: Date mmddhhmmFormat: Date mmddhhmmyyyyFormat: Date
Date of the Linux command I used-Display, modify system date TimeThis article link: http://codingstandards.iteye.com/blog/1157513 (reproduced please specify the source)Description of UseThe ATE command can be used to display and modify the system
Growing troubles (14) This article is from agile and invincible
The time passed quickly, and two weeks later. The first time they ran the sprint was over, but they didn't feel very good.At the sprint meeting, we selected some user requirements for
use the shell in Linux to get yesterday, tomorrow or many days before the date time -- A- , the: -:xxblogjava-Expert Area Original http://www.blogjava.net/xzclog/archive/2015/12/08/428555.htmlTheme Shell Original address:
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.