Miliseconds Into Minutes

R

Robert J

Hi folks. First, I just wanted to say thanks to all of you who helped me
with the subform question. Now, to the good stuff. I'm currently exporting
data from an application that I uses to play my digital music (read iTunes).
One of the fields is for track legnth, but iTunes keeps track of this info in
miliseconds, not minutes. I want to include the track legnth in a table i'm
creating but can't find an easy solution to converting the miliseconds iTunes
uses into a user friendly minutes. Thanks for the help.
 
K

KARL DEWEY

=[YourField]/ (1000 * 60)

1000 miliseconds equal one second and 60 seconds equal one minute.
 
J

John Vinson

Hi folks. First, I just wanted to say thanks to all of you who helped me
with the subform question. Now, to the good stuff. I'm currently exporting
data from an application that I uses to play my digital music (read iTunes).
One of the fields is for track legnth, but iTunes keeps track of this info in
miliseconds, not minutes. I want to include the track legnth in a table i'm
creating but can't find an easy solution to converting the miliseconds iTunes
uses into a user friendly minutes. Thanks for the help.

If you'ld like it in minutes and seconds - e.g. 3:42 - rather than the
less clear 3.70 minutes, try an expression like

[TrackLength] \ 60000 & Format([TrackLength] \ 1000 MOD 60, "\:00")

John W. Vinson[MVP]
 

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