Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8232425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:49:52+00:00 2026-06-07T17:49:52+00:00

When exporting an xml file from excel, dates are become 5 digit numbers. 07/01/2010

  • 0

When exporting an xml file from excel, dates are become 5 digit numbers.
07/01/2010 becomes 40185.
Same thing happens when I change the format of the cell from date to general.
Any ways to match the 5 digit number to the date?
Or someway to keep the date field in the xml file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:49:55+00:00Added an answer on June 7, 2026 at 5:49 pm

    Excel stores dates as floating point numbers. On Windows, the integer part is the number of days since January 1st, 1900 (midnight), the fractional part shows the time. So .0 is midnight, .5 is noon and .99999 is 11.59.59 PM.

    See also http://support.microsoft.com/kb/214094

    N.B.: On the Mac, Excel uses January 2nd, 1904 as the starting date (if you’re curious about this, read My First BillG Review by Joel Spolsky, which doesn’t quite explain what’s going on here but is an awesome read), but you can still transfer files between Mac and PC because the date format is stored in the Excel file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm exporting an XML file from InDesign. The text in this file contains superscripts
Exporting some data from mysql to a csv file using FasterCSV. I'd like the
I need to make an excel file which would fetch data from connection to
I have a DataTable that I'm creating an XML file from using .WriteXML(..), although
Our product has the requirement of exporting its native format (essentially an XML file)
When exporting a Visual Studio project to a Template (File/Export Template...) I get the
I'm exporting my php as jsonp and then calling a js file which loads
Here i am exporting the datatables in a dataset to excel.How to make the
I'm exporting some data, making a file and writing the data to the file...
I am writing an exporting function to take data from a database table and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.