search
HomeTopicsexcelExcel date time function formula

Excel date time function formula

Jun 20, 2019 am 10:23 AM
exceldatetime

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

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),