Solved

Format Date/Time field

Posted on 2014-12-16
2
200 Views
Last Modified: 2014-12-17
I have a field in a table set up as a Date/Time field with the format being General Date.  And then I have a form bound to that table and a date/time field on the form set to General Date.

But the form is only displaying the date and so is the field in the table.

I want it to display, for example, "11/12/2014 5:34 PM (no seconds)

How can I make this happen?
0
Comment
Question by:SteveL13
2 Comments
 
LVL 18

Accepted Solution

by:
Simon earned 500 total points
ID: 40503605
set the format property of the textbox control

dd/mm/yyyy hh:nn AM/PM (if you're a Brit)
or
mm/dd/yyyy hh:nn AM/PM (if you're in the USA)

See also the MS reference page for this
0
 

Author Closing Comment

by:SteveL13
ID: 40504869
Perfect.  Thanks.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now