20.1 Shell Script IntroductionShell is a scripting language• Logic Judgments, loops, and other syntax can be used• Functions can be customizedShell is a collection of system commandsshell scripts enable automated operations, which can greatly
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
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
$.fn.extend ({/** * The timestamp is displayed as "Not long ago, just, n minutes before, n hours ago, n days ago, n weeks ago, n months ago, n years n months n days" of processing * *. * * $ (' 1517451000000 '). Commontimestamp (); February 01, 201
1. calculate the maximum number of days of calendar month. getinstance (); time. clear (); time. set (calendar. year, year); // year is inttime. set (calendar. month, I-1); // note that the default January Calendar Object is 0 int day = time.
From: Java translation station
Links: http://it.deepinmind.com/java/2015/03/17/20-examples-of-date-and-time-api-from-Java8.html
In addition to lambda expressions, stream, and a few minor improvements, Java 8 introduces a new set of
It is convenient to use timestamp to record datetime, but sometimes it is not necessary to display the milliseconds after the decimal point, so you need to redefine the format when converting to string. timestamp converted to string:
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
Get the date of the dayDate +%y-%m-%dOutput: 2011-07-28Assigns the current date to a date variabledate=$ (Date +%y%m%d)Sometimes we need to use dates before or after today, so we can use the-D parameter of dateGet Tomorrow's dateDate-d Next-day
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
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.