For example, if you wanted to view the date as "01-JAN-2005 21:00:00", you could enter the following into the Format property on your text box:
dd-mmm-yyyy h:nn:ss

Then when you viewed the form, the text box would display the date as follows:

If you wanted to view the date as "01-JAN-2005 9:00:00 PM", you could enter the following into the Format property on your text box:
dd-mmm-yyyy h:nn:ss AM/PM

Then when you viewed the form, the text box would display the date as follows:
