Time data type

D

Dimitris

Hello !
What do I have to do in order to store and short time with the following
form :
Hour (optional) : Minutes : Seconds . Milliseconds
The reason is because I want to store, sort data (time) and extract results
for swimmers (I'm member of a small swimming club).
Any help will be appreciated .
Thanks .
 
K

Klatuu

Look in Access Help for the Format function and check See Also to find named
time formats for formatting for your form or report. The problem you have is
that milliseconds are not carried in Access.
 
D

Douglas J. Steele

As Klatuu points out, the Date/Time data type in Access does not go down to
the millisecond level.

You're probably best off storing the times as Long Integers representing the
total number of milliseconds. It's pretty straightforward to your own
functions to convert back and forth between Milliseconds and h:mm:ss:ttt
 
K

Klatuu

Douglas,

Exactly my thoughts. It so happens I have a similar situation on the back
burner and I will be creating the functions I need to accomplish this.

Dimitris,

If you need these functions, I can send you a copy, but I don't think I will
have them done until next week some time. Let me know if you need them and
how I can get them to you.
 

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