Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 30th, 2011, 09:21 PM
Registered User
 
Join Date: Aug 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to webmeister
Default Date Time Field not displaying Date and Time

in my tblTestSession I defined tsSession as Date/Time and can not get it to display both the date and time.

I had copied my data from Excel where it shows both the date and time (i.e. 1/21/2011 12:01:00 AM)

In design view i have the format for the tsSession field as mmdd/yyyy; hh:nn

Please assist. Thank you.

Code:
 
 
 
tblTestSession
tsID    ttTestType tsSeats tsSession
551       D                    01/21/2011
 
Old January 31st, 2011, 12:48 AM
Friend of Wrox
 
Join Date: Sep 2010
Posts: 245
Thanks: 5
Thanked 24 Times in 23 Posts
Default

Try this:
mm/dd/yyyy hh:nn
__________________
Boyd Trimmell aka HiTechCoach (.com)
Microsoft Access MVP Alumni 2010-2015
 
Old January 31st, 2011, 12:49 AM
Friend of Wrox
 
Join Date: Sep 2010
Posts: 245
Thanks: 5
Thanked 24 Times in 23 Posts
Default

Also try:

or

mm/dd/yyyy hh:nn AM/PM


or

"Long Date"
__________________
Boyd Trimmell aka HiTechCoach (.com)
Microsoft Access MVP Alumni 2010-2015





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem displaying records in order of time ,date method PHP Databases 3 July 25th, 2006 08:16 PM
Null Value for Date/Time Field ksegars4 Crystal Reports 2 November 17th, 2004 11:58 AM
displaying date and time harpua Classic ASP Databases 2 October 29th, 2004 09:16 PM
SQL2000 Date/Time field update Lucian Ion Dreamweaver (all versions) 9 January 2nd, 2004 09:14 PM
Format Date to time field KennethMungwira VB.NET 3 November 17th, 2003 11:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.