dates
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training add this page to your favourites/bookmarksBookmark page

view a printable version of this pagePrintable version
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Dates

Dates

The UK's most regular instructor-led training courses.
Training information: access course · Access training · Microsoft Access Training London
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Medium Priority · Version 2007

No ranking yet
2 posts
replyReplyThu 29 Oct 2009, 17:10Delegate Kate said...

Kate has attended:
Access Introduction course
Access Intermediate course

Dates

I have a column of data which refers to date (dd/mm/yyyy hh:mm:ss) and I would like to create another column in the query which is just the date part (dd/mm/yyyy). Is this possible?

Thanks

Access Intermediate 1 day course
Version Date Location Places
available
Book Next place rate (£)
Pay by
Card
Pay by
Invoice
2007 Tue 23 Mar 2010 Bloomsbury 3 Book now £224 £225
2003 Tue 30 Mar 2010 Bloomsbury 6 Book now £199 £204
2003 Thu 22 Apr 2010 Southwark 5 Book now £195 £200
2007 Tue 27 Apr 2010 Bloomsbury 4 Book now £224 £225
2003 Fri 28 May 2010 Bloomsbury 9 Book now £156 £161
2003 Wed 16 Jun 2010 Bloomsbury 8 Book now £95 £100
Full Schedule: See all 20 Access Intermediate course dates.
Bookings currently available until 17th December 2010.

Diamond
1,055 posts
replyReplyFri 30 Oct 2009, 11:45Trainer Andrew said...

RE: Dates

Hi Kate

Thank you for your question. Try this and see if it produces the results you are looking for:

Select your query and switch to design mode.
Clicking in the next free column in your query, in the Field row, give your new column a title eg short_date

add in a colon followed by the name of the exisiting field that contains the date you would like to reformat. So the full Field title for your new column becomes

short_date: [date]

where date is the name of the field you would like to reformat.

Press the enter key to commit the change then right click on the new field name you just entered and from the short menu choose Properties.

In the properties sheet that appears type in dd/mm/yyyy and press the enter key.

You can close the Properties sheet and run your query using the exclamation mark on the ribbon.

You should find your new field appears displaying the originaly date value but in your shorter date format.

I hope this helps - do let us know if you have any further questions.

Kind regards,
Andrew

No ranking yet
2 posts
replyReplyFri 30 Oct 2009, 15:30Delegate Kate said...

RE: Dates

I have used fix instead as I want to return the date value as opposed to formatting differently.
Many thanks though,

Kate


Related articles

· Innovation with Microsoft Access
· MS Access: Access your Personal Information with Ease
· What's In A Name? Creating A Company Personnel List Using Microsoft Access
· Convert a Paper Trail to a DBMS
· How to Find a Third-Party Venue for Microsoft Access Training

Please browse our web site to find out more about
access course and other Microsoft training courses.

Access tip:

Hide Access Tables

One method of stopping your Access tables appearing in Database window, is to rename the table(s) with the prefix usys.

This converts the table into a system object, which cannot be viewed in the Database window.

You can show system objects in the Database window by the following:

Step 1: On the Tools menu, click Options.
Step 2: Click the View tab.
Under Show, select the System Objects check box.
Click OK.

View all Access hints and tips


Rate this page:
2.1/5 (108 votes cast)
Institute of IT Training - Accredited Training Provider ILM
Microsoft Certified Partner
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Association of Computer Trainers verified by visa, mastercard securecard