Re: How do I add times beyond 24 hours in Access?
- From: John Vinson <jvinson@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 15 Mar 2006 18:00:58 -0700
On Wed, 15 Mar 2006 16:01:27 -0800, DavidDonaldDoo
<DavidDonaldDoo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I need to create a database that can add hours worked in an [hh:mm] format
that can surpass 24 hours. I do not know which format to choose when setting
up the field.
Thanks
You can't.
Access Date/Time values don't have a format that does this, and
they're really not suitable for storing durations. I'd suggest storing
the duration in a Long Integer field storing minutes (e.g. 25 hours =
1500) and displaying the results with an expression like
[Duration] \ 60 & Format([Duration] MOD 60, ":00")
John W. Vinson[MVP]
.
- Prev by Date: Re: INSERT INTO statement
- Next by Date: Re: INSERT INTO statement
- Previous by thread: Re: How do I add times beyond 24 hours in Access?
- Next by thread: Re: How do I add times beyond 24 hours in Access?
- Index(es):
Relevant Pages
|