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?

The function that returns the current date of the system refers to the function that can obtain the current time of the system by directly calling the software in 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