dbTalk Databases Forums  

Date and Time Calculations (FMP7)

comp.databases.filemaker comp.databases.filemaker


Discuss Date and Time Calculations (FMP7) in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dolphy
 
Posts: n/a

Default Date and Time Calculations (FMP7) - 04-09-2007 , 10:22 PM






Hi All,

I'm working on a fault managment DB.

I need three fields:

First: Date and Time fault was opened
Second: Date and time fault was resolved
Third: Total time fault took to resolve

I'm sure its a simple calculation, I've been unable to figure it out.

Is this possible and how?

Rgds,
Adolph


Reply With Quote
  #2  
Old   
Christoph Kaufmann
 
Posts: n/a

Default Re: Date and Time Calculations (FMP7) - 04-10-2007 , 03:16 AM






Dolphy wrote:

Quote:
First: Date and Time fault was opened
Second: Date and time fault was resolved
Third: Total time fault took to resolve

I'm sure its a simple calculation, I've been unable to figure it out.
First and second field are timestamp fields.

Third field is a calc field: SecondField - Firstfield. This will get you
the number of seconds between the two moments, so you will often gaze at
some horribly high number

Set the calc field to time result. You will see some hh:mm:ss. The
simplest way to display the number of days is create another calc field.
--
http://clk.ch


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.