Solved

Format Date/Time field

Posted on 2014-12-16
2
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
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…

628 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