Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How would you do miltary time in VB in access

Status
Not open for further replies.

zrazzaq

MIS
Apr 13, 2005
102
US
Hi all:
I have to sum a bunch of rows which are Time fields in it. The end result needs to be in military time. Anyone got anything for this.
 
Set the format of your DateTime field to Short Time. This will put the values into military time format.
 
Actually I figured that out in a query. The only thing left is I have something like 17:34 which is 17 minutes and 34 seconds. The issue is that it keeps coming up with AM at the end of it. I try to format it and it did not work...Anyone got any suggestions for it.
Thanks
Zishan
 
The input mask for Medium Time is 99:00 >LL. Try removing the >LL.


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top