PDF Mikata

日期顯示成數字時

釋出日期:2026 年 10 月 19 日|最後更新:2026 年 10 月 19 日|關於(日文)

要點
  • 選擇
  • 確認

Converting Excel to CSV turned dates into numbers like "45,000". Here are the cause and remedy. How Convert Excel to CSV or JSON handles dates is explained.

步驟

  1. With "Choose one .xlsx Excel file", choose the file.
  2. Choose the "Sheet" and "Format".
  3. Check the date column in "After conversion".
Date cells are converted and output in a form like "2026-10-21". Cells whose display format isn't a date come out as numbers.

Why they become numbers

Excel stores dates as numbers called "serial values". For example, 21 October 2026 is a certain fixed number. It is displayed as a date only when the cell's "display format" is date.

Cells output as dates

Cells whose display format is "Date" in Excel come out in the form "2026-10-21".

Cells that come out as numbers

如何修正

  1. In Excel, select the date column.
  2. In "Format Cells", set the display format to "Date".
  3. Save again.
  4. Convert again with this tool.

Date format

Converted dates are in the form "year-month-day". If you want another format, change the format in Excel or similar after conversion.

Cells with time

Cells containing both date and time may be output including the time part. Check as needed.

A useful approach

When dates come out as numbers, fixing the display format in Excel and converting again is more reliable than correcting afterwards.

示例

The order date column was output as numbers like "46,317". After fixing the column's display format to "Date" in Excel, saving again and converting again, it came out as "2026-10-21".

Common stumbling blocks

Frequently asked questions

How do I turn numbers back into dates?

In Excel, change the number cells' display format to date.

小結

Dates become numbers because the display format isn't date. Fix it in Excel and convert again.

使用「把 Excel 轉換成 CSV 或 JSON」(免費)

搭配使用的工具

如果這篇教程對你有幫助,一點小小的打賞會讓我們非常開心。

打賞(300 日元)贈送禮物(亞馬遜心願單)

此工具的更多教程

檢視全部教程