DATEADD functionDescription: Returns the date on which the specified time interval has been added.Syntax DateAdd (interval, number, date)Interval: Must be selected. A string expression that represents the time interval to add. See the Settings
The date () function gets the dates,
The time () function gets the times.The now () function can get the current date plus time.
Now () gets the current system date and time, the ASP output can be written like this: Years (now ()) Gets the year, ASP
Now () gets the current system Date and Time. asp output can be written as follows:
Year (now () gets the year, ASP output:
Month (now () gets the current month, ASP output:
When day (now () is obtained, ASP outputs:
Minute (now () gets the
Date functionDescription: returns the current system date.Syntax: Date Dateadd FunctionDescription: return the date of the specified interval that has been added.Syntax: dateadd (interval, number, date)Interval: required. String expression,
VBScript Functions
Function DescriptionExampleAbs (numerical value) absolute value. The absolute value of a number is its positive value. The absolute value of a null string. The uninitialized variable is definitely 0. Example: ABS (-2000)Result: 200
VBScript functions
Function descriptionExampleABS (value) absolute value. The absolute value of a number is its positive value. The absolute value of an empty string (null), also an empty string. Uninitialized variables, which are absolutely 0
Linux scripting is not too strong, and recently tutorial, after all, Linux shell in the daily work is still very common,It is more convenient to use, save time and effort.Here are the study notes, partial theory, followed by a few examples for
Functions | syntax
Abs (numerical)
Absolute. The absolute value of a number is its positive value. The absolute value of an empty string (null), also an empty string. Uninitialized variable, which is absolutely 0
Example: ABS (-2000
ASP function syntax table
ABS (numerical value)
Absolute value. The absolute value of a number is its positive value. The absolute value of a null string. Uninitialized variable, which is absolutely 0
ABS (numerical value)
Absolute value. The absolute value of a number is its positive value. The absolute value of a null string. Uninitialized variable, which is absolutely 0
Example: ABS (-2000)Result: 2000
Array (array elements
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.