ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   date system (https://www.excelbanter.com/excel-discussion-misc-queries/134966-date-system.html)

The Rook[_2_]

date system
 
I currenlty have an ODBC link into a database, when a date is extracted it is
imported as a serial number, the problem is that the data base does not use
the 1900 of 1904 system.

Todays date 15/03/2007 is imported as 732750
in excel 732750 formatted into a date if 14/03/3906

Is there an easy way to change this in excel so that it formates to the date
I require?

regards

Mike

date system
 
Whatever date system is being used it is fairly safe to assume that each day
has a number so subtracting 693594 will convert it into excel. Probably
simplest to have a helper column formatted as a date that subtracts this
number from the imported date number.

Mike
"The Rook" wrote:

I currenlty have an ODBC link into a database, when a date is extracted it is
imported as a serial number, the problem is that the data base does not use
the 1900 of 1904 system.

Todays date 15/03/2007 is imported as 732750
in excel 732750 formatted into a date if 14/03/3906

Is there an easy way to change this in excel so that it formates to the date
I require?

regards



All times are GMT +1. The time now is 09:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com