Date format

Johny

Registered User.
Local time
Today, 07:41
Joined
Jun 1, 2004
Messages
80
Hey,

I have a date/time field in my 'Assignment' table. (ex. 5/06/2004 11:32:45).
Now I made a query based on this table that has to format the date into 5/06/2004. It has to be done at this level and not after I pulled out the data from the database because the data goes straight into my listbox.

Any ideas?

I guess this must be somethin' very easy but can't seem to figger it out :(
 
NewField: Format(myDate, "dd-mmm-yyyy")

Or whatever format you want it in.
 
Mile-O-Phile said:
NewField: Format(myDate, "dd-mmm-yyyy")

Or whatever format you want it in.

thanx, you helped me alot. Didn't know ya could use vba function in the query design.
I used:
Code:
Aanvraag: FormatDateTime([Datum];2)

thanx again :)
 

Users who are viewing this thread

Back
Top Bottom