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
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
Java processing Date Time common methods:
1. Java.util.Calendar
The Calendar class is an abstract class that provides methods for a specific moment to transform between a set of calendar fields such as year, MONTH, Day_of_month, HOUR, and for
- 20.1 shell script describes the- 20.2 shell script structure and executes- 20.3 date command usage- 20.4 shell the variables in the script # 20.1 shell Script Introduction- shell is a scripting language attention
Commonly used time and date scripts in PostgreSQL tutorial, postgresql tutorial
Obtain System Time Functions
select now(); --2013-11-28 16:20:25.259715+08select current_timestamp; --2013-11-28 16:20:38.815466+08select current_date; --2013
Overview of dates in JavaDate in Java is a very complex content, for a date in different language country environment, date internationalization, date and time conversion, date of addition and subtraction operation, date display format is very
Get system Time function
Select Now (); --2013-11-28 16:20:25.259715+08
Select Current_timestamp; --2013-11-28 16:20:38.815466+08
Select current_date; --2013-11-28
Select Current_time; --16:21:08.981171+08
Calculation
Date display/Set system time+ A format displays dates in some formatFormat: +%f 2017-08-20 ====== +%y-%m-%d+%w Show weeks 0 Sunday 1-6 weeks one to Saturday+%t: minutes: Seconds ====== +%h:%m:%s-D Displays the date according to your description-D
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.