Solved

Format Date/Time field

Posted on 2014-12-16
2
196 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:
SimonAdept earned 500 total points
Comment Utility
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
Comment Utility
Perfect.  Thanks.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
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 specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

763 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

9 Experts available now in Live!

Get 1:1 Help Now