This is my initial post as a Novice. I'm using a FM (7.0) database of parsed server access logs to study visitor usage patterns to my site (www.the-intuitive-self.org).
I've used FM on a modest scale for simple off-line databases. Now I'm tackling ScriptMaker for the first time. I've got my first script up and running (after many false starts) with one exception. I'm trying to calculate an elapsed visit time (DT Visit) using TimeStamp variables to represent the date and time of the most recent request (DT Request) and the first request (DT First) in a visitor session, e.g.;
DT Visit = DT Request - DT First
where all variables are defined as TimeStamp and stored in the format; 11/10/2004 20:50:46.
The calculation appears to work as long as "DT Request" and "DT First" are no more than 24 hours apart even when they are on consecutive days, e.g.;
01/02/2004 00:35:57 - 01/01/2004 23:35:03 successfully yields 1/1/0001 1:00:54. However;
11/10/2004 20:50:46 - 11/05/2004 23:29:47 yields "?" which I assume means undefined.
I expect the result to be approximately 1/5/0001 23:35:25, i.e. 4 days, 23 hours, etc.
The references I've checked haven't shed light on the problem. Any guidance will be appreciated.
Thanks, Bill