resolution of Time in Rev
Mark Smith
mark at maseurope.net
Fri Aug 19 15:51:11 EDT 2005
If it helps, 'the seconds' (like 'the time', 'the date', 'the files')
is really a function, and can be used like: put seconds() into tNow.
Incidentally, looking this up reveals that the dictionary also lists
'seconds' (plural) as a keyword to denote the second member of a set,
when obviously it should be 'second' (singular).
Is this the kind of thing to bz?
Cheers,
Mark
On 19 Aug 2005, at 20:01, Jon wrote:
>
>
> Alex Tweedly wrote:
>
>> <snip>
>>
>> 2. Unless you need to for some reason I don't see here, don't mess
>> around with date & time.
>
>
> What I'm trying to do is find a way to express "more than 60 minutes
> after the most recent time/date stamp" in such a way that it will not
> fail across noon/midnight boundaries. In Delphi, all times are just
> expressed as floating point numbers, where each day is "1", 12 hours
> is "0.5", etc, so all of these calculations are dead triviall in that
> situation. I'm confused by all of the various ways that Dates can be
> used and Times can be used. I'm not sure if these two concepts are
> separate or united in some way. The Convert routine gives some clues,
> but I could not find a discussion on Time/Date, which is really what
> I'm trying to use/do.
>
> "if the seconds > nextFTPTime then"
>
> Ah. More puns. So "the seconds" means something different than
> "seconds". I guess "the seconds" is what I was looking for all along.
> Difficult to spot, since it is more or less a time/date concept
> masquerading as a time. But, that said, this simplifies things
> considerably.
>
> Thanks! Learning about "the seconds" was very helpful!
>
> :)
>
> Jon
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
More information about the use-livecode
mailing list