Dates Puzzle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a file from someone with dates appearing to be formatted in the
following custom format mm/dd/yy;@
When I copy them, they change to “actual†date according to their serial
number.

So custom formatted 04/21/87 when copied to another workbook transforms to
04/20/83 (30,426 serial number).

I know how to preserve the dates by using = Date (Year(), month(), day())
function. But can someone please explain why this is happening, since in the
future it could be easily overlooked when copying and pasting.


Thanks for your input!
Using 97 on Windows NT
 
Hi
all date values are internally represented by this serial number. So
you just have to format the cells accordingly
 
Hi,

I have a file from someone with dates appearing to be formatted in the
following custom format mm/dd/yy;@
When I copy them, they change to “actual” date according to their serial
number.

So custom formatted 04/21/87 when copied to another workbook transforms to
04/20/83 (30,426 serial number).

I know how to preserve the dates by using = Date (Year(), month(), day())
function. But can someone please explain why this is happening, since in the
future it could be easily overlooked when copying and pasting.


Thanks for your input!
Using 97 on Windows NT

One workbook is using the 1900 date system; the other is using the 1904 date
system.


--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top