realbasic-nug
[Top] [All Lists]

Re: Tenths of seconds in Date

To: <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Tenths of seconds in Date
From: "Herd Richard Dr (ENV)" <R dot Herd at uea dot ac dot uk>
Date: Thu, 28 Jun 2007 14:00:35 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: Ace5hFE/9pncx8ovQh2XVkLPswUx7w==
Thread-topic: Tenths of seconds in Date
>Is there a reasonable way to determine tenths
>of seconds from Date?
>Since Second is Integer, I would like to determine
>x.y seconds. This needs to be related to the actual time
>of day.
 
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
 
 
_______________________________________________
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>