If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Change a date time field display from hours to minutes
I am designing a database which a field displaying the duration of an action
is required in Minutes and Seconds. However the date time field properties are shown in hours and minutes, the maximum being 23.59. I need to display a reading greater than this. Can I change the format of the date time field to show the figures I require. |
#2
|
|||
|
|||
The Date data type is intended to store a timestamp (a point in time), not a
duration. The usual advice is to determine what resolution you need for your durations (eg. seconds, minutes, etc.), and store the duration as a Long Integer representing that number of units. You can write functions to convert between the Long Integer representation and the hh:nn:ss representation. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Geoff" wrote in message ... I am designing a database which a field displaying the duration of an action is required in Minutes and Seconds. However the date time field properties are shown in hours and minutes, the maximum being 23.59. I need to display a reading greater than this. Can I change the format of the date time field to show the figures I require. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Syntax needed to get needed reports | Frank Lueder | New Users | 15 | January 6th, 2005 08:39 AM |
Still Hoping for help with a Query problem | Don Sealer | Using Forms | 15 | November 13th, 2004 06:24 AM |
Filtering on custom date field | MED | Contacts | 3 | September 17th, 2004 03:05 PM |
automate access form patient name, date field, time to outlook app | serverrunner | Using Forms | 0 | July 27th, 2004 03:59 AM |
Aggregating Date Data into Weeks and Quarters | Roger | Running & Setting Up Queries | 3 | July 11th, 2004 05:56 PM |