troubleshooting Question

Random times with 12/24 hour switching

Avatar of Tusitala
Tusitala asked on
Microsoft AccessVBAMicrosoft Excel
9 Comments1 Solution127 ViewsLast Modified:
All,

I'm wanting to generate some random 12/24 hour times in VB without the date portion.  These times are stored in an Access table as Text values.

Ideally, I would also be able to specify some constraints as well, for example between 8am and 6pm.

Samples:

24hr
14:02:23 PM
19:54:04 PM
03:27:45 AM

12hr
2:02:23 PM
7:54:04 PM
3:27:45 AM

Any suggestions?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros