× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Query........Manipulating TimeFields
  • From: Bill Erhardt <ERHARDT@xxxxxxxxxxxxx>
  • Date: Fri, 14 Jul 2000 15:54:56 -0400

If you select F1 on the Define Results Panel, you will see definitions on
how to calculate the difference between dates and time.  The problem, as I
understand it, is converting your date and time fields into time stamps.
I've built date data type fields by using the date function for example:
Field              Expression
X                    Digits(Date60) - Converts a 6,0 field to character data
Date
Date(substr(x,1,2)||'/'||Substr(x,3,2)||'/'||substr(x,5,2))
This converts the value of field date60 into a date data type.    Date60
must contain a valid date value.

You could try building the same type of thing using the TIME, or TimeStamp
functions.
Bill Erhardt
Baldwin Hardware 

> -----Original Message-----
> From: sgt.walsh@icdc.com [SMTP:sgt.walsh@icdc.com]
> Sent: Friday, July 14, 2000 2:05 PM
> To:   MIDRANGE-L@midrange.com
> Subject:      Re: Query........Manipulating TimeFields
> 
> Yes, I will be calculating elapsed times across date boundaries.
> I will be doing this in Query 400.
> 
> Sergeant John P. Walsh
> Haverford Township Police Department
> 1010 Darby Road
> Havertown, PA 19083
> Voice   610.853.1298 ext 212
> Fax      610.853.9210
> sgt_walsh@icdc.com << File: ATT04687.txt >>  << File: Message Body >> 


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.