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: Dave Shirk <dave at pamlicosounds dot com>
Date: Thu, 28 Jun 2007 23:44:53 -0400
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>
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
> - I use it for timing spectral acquisition - but on OSX, you just
> get .000 for the decimal part of the TotalSeconds (see bug report
> http://www.realsoftware.com/feedback/viewreport.php? 
> reportid=bvroufal <https://ueaexchange.uea.ac.uk/exchweb/bin/ 
> redir.asp?URL=http://www.realsoftware.com/feedback/viewreport.php? 
> reportid=bvroufal>
> - even consider signing up for it and doubling the number of votes!
>
> Regards - Richard

Richard,

Thanks for the reply.  I looked at your Report, and just so happens  
the folks
at Real responded to it today.  Total seconds as documented is not  
suppose
to return any fraction of seconds.  So it works correctly on the Mac.

I still need a way to determine fractions of a second, and see no  
accurate
way to accomplish it.

I can fake it - but in this case it will not be good.

Dave


_______________________________________________
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>