Hi,
WHY are you using a ' to make the value a STRING???
'3/31/2004 2:40:53 PM is NOT a DATE/TIME!
3/31/2004 2:40:53 PM IS a DATE/TIME, which oddly enough in Excel, is REALLY a NUMBER -- 38077.61172
You get the FORMAT that you want by menu item Format/Cell/Number Tab and select a STOCK Date or Time Format or Create a CUSTOM format.
If I enter 3/31/2004 2:40:53 PM, it can be formatted, for instance...
[tt]
Display Format
Wednesday -- "dddd"
Wed, Mar 31, 2004 14:40:53 -- "ddd, mmm dd, yyyy hh:mm:ss"
[/tt]
SAME DATE/TIME value 38077.61172 (BTW the GENERAL Format)
Get rid of the TIC and use REAL Date/Time!!!
Skip,
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884