Home  >  Article  >  Topics  >  Excel date time function formula

Excel date time function formula

步履不停
步履不停Original
2019-06-20 10:23:4337672browse

Excel date time function formula

In actual work, there are many places where date and time are used. If it is handled manually every time, it will be very troublesome.

1. Get the current system date and time.

Excel date time function formula

Method:

1. Select the target cell.

2. Shortcut keys: Ctrl;, Ctrl Shift;

2. YEAR: Calculate the year .

Excel date time function formula

Method:

Enter the formula in the target cell: =YEAR(A3).

3. MONTH: Calculate the month.

Excel date time function formula

Method:

Enter the formula in the target cell: =MONTH(A3).

4. DAY: Calculate the number .

Excel date time function formula

Method:

Enter the formula in the target cell: =DAY(A3).

五、TEXT: Week (China).

Excel date time function formula

Method:

Enter the formula in the target cell: =TEXT(A3,"aaaa").

Six, TEXT: Week (English) .

Excel date time function formula

Method:

Enter the formula in the target cell: =TEXT(A3,"dddd").

7. LEN MONTH: Calculate quarter .

Excel date time function formula

Method:

Enter the formula in the target cell: =LEN(2^MONTH(A3)).

8. WEENNUM: The calculated date is the week of this year.

Excel date time function formula

Method:

Enter the formula in the target cell: =WEEKNUM(A3).

Nine, Day X.

Excel date time function formula

Method:

Enter the formula in the target cell: =A3-"1-1" 1.

10. DAY EOMONTH: There are a few days in this month.

Excel date time function formula

Method:

Enter the formula in the target cell: =DAY(EOMONTH(A3,0)).

For more Excel-related technical articles, please visit the Excel Tutorial column to learn!

The above is the detailed content of Excel date time function formula. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn