Changing Date format in a Query - should be easy?

G

Guest

I'm querying a table that has date/times in m/dd/yyyy hh:mm:ss format and
another column of corresponding numerical data (data pt taken every 2
minutes).

In my query I'm averaging the numerical data for each DAY. It does this
fine, but in the query it shows dates in "Thursday, April 28, 2005" format,
which I can't even get excel to recognize as a valid date format and graph.

How can I change the date format in my query to m/dd/yyyy ?

Any advice much appreciated!
 
G

Guest

UPDATE: Tried changing 'Long Date' to 'Short Date' in query SQL and got the
following error message:

"You tried to execute a query that does not include the specific expression
'Format$([159 Data from Xcel].DATE,'Short Date')' as part of an aggregate
function."
 
G

Guest

Got it. I just had to change the date format in two separate places in the
query SQL. Obviously I'm new to this.

At least I have my answer. These discussion boards are great!
 

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

Top