Traditional Culture Encyclopedia - The 24 Solar Terms - What is a function that returns the current date of the system?
What is a function that returns the current date of the system?
In Visual FoxPro(VFP), date-time function is a function to process date or date-time data.
Its independent variable is the date expression dExp or the date-time expression tExp. The format is date ().
Extended data:
Several basic Excel data processing functions.
1., year
The year function is used to extract the year in the date.
Syntax: = year (serial number)
Results: The year information between 1900-9999 was returned.
2. Month
The month function is used to extract the month in the date.
Syntax: = month (serial number)
Results: Numbers between 1 (January) and 12 (December) are returned.
3. During the day
The day function is used to extract a day in a date. Syntax: =day (serial number)
Results: Returns the number of days in a month, ranging from 1 to 3 1.
4. Date
The date function returns the serial number representing a specific date according to the year, month and day.
Grammar: date (year, month, day)
Result: Returns the number representing the date in the Excel date-time code.
today
Daily extraction system date
Syntax: =today ()
Result: Returns the current date in date format. The calculation result is variable.
6. Now
The now function extracts the system date and time.
Syntax: =now ()
Result: Returns the current date and time in date format. The calculation result is variable.
Baidu Encyclopedia-Date and Time Function
- Related articles
- Why do all these teas have the word "morning"?
- Guizhou Bijie Weining postal code
- Troubleshooting of car wash machine?
- Children's Poems about Snowmen
- What farming activities are there in the four seasons of Tianjia Four Seasons Song?
- What does it mean to plant mangoes on June 6th?
- The custom of Chinese New Year in Shanwei
- Enterprise Strategy of Lu Shanxi Anshi Gejie Coal Industry Co., Ltd.
- A simple poem of great summer heat
- The sentence of light snow solar terms