## Excel Formula: Convert Date to Text

This tutorial provides the TEXT function to convert a date to text.

Generic formula:

 TEXT(date,format)

Arguments

 Date: the date you want to convert to text. Format: the format you want the date displayed as.

Return Value

The TEXT function returns to a text value.

How this formula work

To convert the date in cell B3 to a text value, please use below formula:

 =TEXT(B3,"mm/dd/yyyy")

Press Enter key to get the result.

Explanation

TEXT function: convert a number to a text in a specific format.

Note

 Format Code Formula Result yyyy =TEXT(B3,"yyyy") 2020 yy =TEXT(B3,"yy") 20 mmmmm =TEXT(B3,"mmmmm") S mmmm =TEXT(B3,"mmmm") September mmm =TEXT(B3,"mmm") Sep mm =TEXT(B3,"mm") 09 m =TEXT(B3,"m") 9 dddd =TEXT(B3,"dddd") Saturday ddd =TEXT(B3,"ddd") Sat dd =TEXT(B3,"dd") 12 d =TEXT(B3,"d") 12 mm/dd/yyyy =TEXT(B3,"mm/dd/yyyy") 09/12/2020 m/d/y =TEXT(B3,"m/d/y") 9/12/20 ddd,mmm y =TEXT(B3,"ddd,mmm y") Sat,Sep 20

#### Relative Formulas

• Convert date to Julian
Sometimes, you need to convert the standard date to the Julian date in Excel, here this article introduces a formula which combines the TEXT, YEAR and DATE functions to solve this job.
• Convert date string to datetime
Sometimes, while you import or paste some datetime data from other devices to Excel, the datetimes maybe not be recognized as proper dates...
• Convert date to year month
In some cases, you want to convert the date to only month, year, day or monthyear, daymonth, or year day in text format.
• Calculate Hours Minutes Seconds Between Two Times
Here in this tutorial, it introduces some formulas to quickly present the time difference result as single time unit.

### The Best Office Productivity Tools

#### Kutools for Excel - Helps You To Stand Out From Crowd

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

• One second to switch between dozens of open documents!
• Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
• Increases your productivity by 50% when viewing and editing multiple documents.
• Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
=text(B3,"mmm") 을 치면 Sep 이 나와야 하는데, 9가 나오는 경우는 어떤 경우인건가요?
=text(B4,"mmmm")을 치면 September가 나와야 하는데 9월 이라고 나옵니다.

뭐가 잘못된 건지...
This comment was minimized by the moderator on the site
Hi, formulas provided in the tutorial is working at English version, for Korean version, please try formula:
TEXT(B3;"MMM") or TEXT(B3;"MMMM")
This comment was minimized by the moderator on the site
I tried already to do the formula. But the result was the same.
This comment was minimized by the moderator on the site
Hi, please notice there is not a comma , in the formula, is semicolon ; in the formula.
This comment was minimized by the moderator on the site
Right. I used a comma. If semicolon is used, the error occurs.
This comment was minimized by the moderator on the site
I am confused, which formula you use will occur errors, what error shown? #N/A or #NAME? or #VALUE!
There are no comments posted here yet