realbasic-nug
[Top] [All Lists]

Re: Tenths of seconds in Date

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Tenths of seconds in Date
From: Tim Jones <tjmac at tolisgroup dot com>
Date: Thu, 28 Jun 2007 21:09:29 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <060666F1A6465342B2321B4C92333D7A549BE8 at UEAEXCHCLUS01 dot UEA dot AC dot UK> <DD2C55FD-16D9-497B-967B-E53DB91779C8 at pamlicosounds dot com>
On Jun 28, 2007, at 8:44 PM, Dave Shirk wrote:

> On Jun 28, 2007, at 9:00 AM, Herd Richard Dr (ENV) wrote:
>
>> Yes.  The TotalSeconds property of the Date class is a double.
>> So you can get timing to thousandths of a second.  It's fine on
>> Windows

Dave -

Consider using a timer set to mode 2 with a period of 100ms to change  
a global counter.  Then use another timer to check for every 'y'  
100ms to gain the granularity you're looking for.  NOt elegant, but  
it'll get you to your level of timing pretty closely.

HTH,

Tim
--
Tim Jones
tjmac at tolisgroup dot com




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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>