Sorted Data

Drunkenneo

Registered User.
Local time
Today, 23:35
Joined
Jun 4, 2013
Messages
192
I have a problem here...
My PC Regional date format is MM-DD-YYYY

and i have been exporting an excel in which i need date column (dd-MM-YYYY) to be sorted desc; inspite of every method its showing mm-dd-yyyy and dd-mm-yyyy somwhere, Please help?
 
Just realised your Post is in the "Introduce yourself" section, next time could you please post questions in the most appropriate category? Thanks.. I have asked the moderators to move this for you.. :)
 
How are you doing the export? If you are using a query, do NOT format the date. This turns it into a text string. Just export the date field as is. Remember, dates are stored internally as double precision numbers with the integer part being the number of days since Dec 30, 1899. Excel works the same way.

print cdbl(Now())
41443.9681481481
print now()
06/18/13 11:14:17 PM
 

Users who are viewing this thread

Back
Top Bottom