High fives, Bill and Mike,

Since we're on the subject of time, is there a way to pick a time of the
day in clock fashion like we can pick dates from the calendar (getdate
function)?  And, as I suspect the answer is no as I have found nothing
so far, is there a way to create a table with all time options (in, say
15 min increments) for a user to pick with a choose command (short of
entering every iteration directly in a table)?  I have replaced my date
input fields with the getdate command and need some equivalent to enter
the time (as in: pickup date, pickup time, delivery date, delivery
time).  All dates and times are in the future.

Thanks for any insight.

Claudine :)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:owner-rbase-l@;sonetmail.com]
On Behalf Of Steve Durham
Sent: Thursday, October 17, 2002 12:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Date and Time



hey Bill,

I was trying that in the begginning, and it wouldnt work, maybe I was 
declaring the VAR wrong, but it works like a charm now. Thanks




>From: "Bill Downall" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>Subject: Re: Date and Time
>Date: Thu, 17 Oct 2002 12:08:44 -0500
>
>Steve,
>
>Just subtract the earlier one from the later one. The result is an
>integer.
>
>SET VAR vLapsedSeconds INT = (.vDateTime2 - .vDateTime1)
>
>If your time format is set to HH:MM or HH:MM:SS, then the result is
>already in seconds.
>
>If your time format is set to HH:MM:SS.sss, then the result is in
>thousandths of a second. Divide by 1000 to get seconds.
>
>Bill
>
>On Thu, 17 Oct 2002 12:46:21 -0400, Steve Durham wrote:
>
> >What would be the best way to find the difference between two
>DATETIME
> >variables in Rbase 6.5++?
> >I need to be able to take the difference of those two variables and
>break
> >the difference down to a total of seconds.
> >I have a few ideas, but I am sure someone knows an easier way to
>do this.
>
>
>
>
>
>================================================
>TO SEE MESSAGE POSTING GUIDELINES:
>Send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: INTRO rbase-l
>================================================
>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: UNSUBSCRIBE rbase-l
>================================================
>TO SEARCH ARCHIVES:
>http://www.mail-archive.com/rbase-l%40sonetmail.com/


_________________________________________________________________
Get faster connections�-- switch to�MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to