HemlockPrinters
asked on
copy smalldatetime date from query result to excel
when I copied the following query result to excel, they showed as 00:00.0
2011-04-20 00:00:00.000
2006-08-17 00:00:00.000
2011-01-10 00:00:00.000
2000-12-13 00:00:00.000
2010-11-04 00:00:00.000
2003-05-28 00:00:00.000
2011-05-17 00:00:00.000
2005-05-02 00:00:00.000
2005-07-25 00:00:00.000
2010-04-30 00:00:00.000
in excel:
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
I can convert smalldatetime format to date format, but is there any easy way to just copy over the smalldatetime date to the excel?
thanks,
2011-04-20 00:00:00.000
2006-08-17 00:00:00.000
2011-01-10 00:00:00.000
2000-12-13 00:00:00.000
2010-11-04 00:00:00.000
2003-05-28 00:00:00.000
2011-05-17 00:00:00.000
2005-05-02 00:00:00.000
2005-07-25 00:00:00.000
2010-04-30 00:00:00.000
in excel:
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
00:00.0
I can convert smalldatetime format to date format, but is there any easy way to just copy over the smalldatetime date to the excel?
thanks,
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
format cells on the column as a date format that shows the days-months-years, it works.