Displaying time without seconds

W

wmdmurphy

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
 
F

fredg

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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top