string literal for half-a-second

Is there an acceptable string literal in the VBA (Access 2013) TimeValue function to express fractions of a second?
In this particular case a Half-Second.

TU_HALF_SECOND = TimeValue("00:00:00.5")         ' Type mismatch error

As a work-around I have calculated it mathematically from a value of one-second:

   TU_HALF_SECOND = TimeValue("00:00:01")         '  The smallest (non-zero) literal I have found that works
                                                                      '  Zero seconds obtained via TimeValue("00:00:00")    ::     I'm aware that this may be redundant

So this is not an emergency, I'm just curious.
Ross WiseInformation Technology Support CoordinatorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey CoachmanMIS LiasonCommented:
I think this my be relavent.

This was a popular question a few years ago, but I think interest faded when people discovered that they rarely need this level of precision, ...and the amount of work to get it, ...was not really worth it...

Hope this helps


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gustav BrockCIOCommented:
Your workaround is correct, though a little long-winded as you can calculate it directly:

    TU_HALF_SECOND = TimeValue("00:00:01") / 2

If you need more that this single value or calculations on split seconds, you can use the code provided by Jeff.

Ross WiseInformation Technology Support CoordinatorAuthor Commented:
Thank you both.
Gustav BrockCIOCommented:
You are welcome!

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.