Thanks Charles,

On Aug 8, 2006, at 3:37 PM, Charles Yeomans wrote:

Yes.  You could do something like the following.

dim v as new Date
dim z as new Date
z.TotalSeconds = v.TotalSeconds
z.Day = z.Day - 1

This results in two Date objects representing now and one day earlier.

Charles Yeomans


On Aug 8, 2006, at 5:32 PM, Robert Poland wrote:

Hi,

does REALbasic allow any kind of date manipilation?

Like this;

  dim v as date=new date
  dim z As date
  ef1.text=v.shortdate
  z=v - (1* day)
  ef2text=z.shortdate

Tia,

Robert Poland
[EMAIL PROTECTED]

Robert Poland
[EMAIL PROTECTED]



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to