
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.

Method:
1. Select the target cell.
2. Shortcut keys: Ctrl;, Ctrl Shift;
2. YEAR: Calculate the year .

Method:
Enter the formula in the target cell: =YEAR(A3).
3. MONTH: Calculate the month.

Method:
Enter the formula in the target cell: =MONTH(A3).
4. DAY: Calculate the number .

Method:
Enter the formula in the target cell: =DAY(A3).
五、TEXT: Week (China).

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

Method:
Enter the formula in the target cell: =TEXT(A3,"dddd").
7. LEN MONTH: Calculate quarter .

Method:
Enter the formula in the target cell: =LEN(2^MONTH(A3)).
8. WEENNUM: The calculated date is the week of this year.

Method:
Enter the formula in the target cell: =WEEKNUM(A3).
Nine, Day X.

Method:
Enter the formula in the target cell: =A3-"1-1" 1.
10. DAY EOMONTH: There are a few days in this month.

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!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

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
Useful JavaScript development tools

Dreamweaver CS6
Visual web development tools

Notepad++7.3.1
Easy-to-use and free code editor

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),






