?
Solved

Time format with fraction of seconds

Posted on 2002-05-09
5
Medium Priority
?
204 Views
Last Modified: 2012-06-27
Hello.

I would like to store the following time (21 minute 22 seconds and 45 hundreth)

I would like to input it like this:   21:22.45

I would also need this value for some calculations (1282.45 s). Can I convert it to seconds and then back to a mm:ss.xx format ?

Thanks

Marcel
0
Comment
Question by:MFrey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Expert Comment

by:dougp23
ID: 6998752
I would think that would you store the initial value (21:22.45) as Short Time.  To get the seconds, just multiply by 60.

0
 

Author Comment

by:MFrey
ID: 6998762
Not working, I cannot enter the time value 21:22.45 in a field formated as Short Time. It does not accept this value
0
 
LVL 54

Expert Comment

by:nico5038
ID: 6998805
I guess you'll need to go and work with fractions, just checkout:
http://www.mvps.org/access/datetime/date0009.htm

(Many other fine samples!)

Nic;o)
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7220043

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 

Accepted Solution

by:
Jgould earned 0 total points
ID: 7240231
Question has been moved to PAQ and points not refunded as per recommendation

JGould-EE Moderator
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question