I tried the code and it works perfectly fine...
What formating do you have for the cell that is pulling up the fuction?
I used the date and time stamp.
[$-409]m/d/yy h:mm AM/PM;@
I reverted back a month, saved the spreadsheet, opened it up and called
the function and it was giving me the correct time and date.
--
Bearacade
------------------------------------------------------------------------
Bearacade's Profile:
http://www.excelforum.com/member.php...o&userid=35016
View this thread:
http://www.excelforum.com/showthread...hreadid=549160