Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / April 2008

Tip: Looking for answers? Try searching our database.

Displaying time without seconds

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
wmdmurphy - 06 Apr 2008 19:20 GMT
In a form control I would like to display the date and time in this format
without seconds:

mm/dd/yy hh:mm PM

However, general date and time does include the seconds.  Is there a way to
customize the display format to omit the seconds?

Bill
Marshall Barton - 06 Apr 2008 20:22 GMT
>In a form control I would like to display the date and time in this format
>without seconds:
[quoted text clipped - 3 lines]
>However, general date and time does include the seconds.  Is there a way to
>customize the display format to omit the seconds?

Use a custom format like:

    mm/dd/yy hh:nn AM/PM

See Help on "Format Property" for details on xreating custom
formats.

Signature

Marsh
MVP [MS Access]

fredg - 06 Apr 2008 20:27 GMT
> In a form control I would like to display the date and time in this format
> without seconds:
[quoted text clipped - 5 lines]
>
> Bill

You're not limited to the built-in formats.
On the Format property line  of the control on the form, write:

mm/dd/yy hh:nn AM/PM

notice the "n" designates minutes, "m" designates months.
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.