time anomaly
Jim Ault
JimAultWins at yahoo.com
Sun Aug 21 19:52:45 EDT 2005
You should test this first.
My test have a slightly different 'result'
> So I could say "that appointment is at 2PM", convert it to a date and
> time, and have it come up with "today at 2PM". Or 54 would be "the
> time right now with the seconds equal to 54".
54 is the seconds, but not (time right now), just the (right HOUR now).
Not sure how useful that is.
put 54 into tTime
convert tTime to long time
put tTime --> 16:00:54 until the next hour starts
Jim Ault
Las Vegas
On 8/20/05 9:34 AM, "Mark Wieder" <mwieder at ahsoftware.net> wrote:
> Jeanne-
>
> Friday, August 19, 2005, 7:28:40 PM, you wrote:
>
>> Actually, it's not indeterminate. When you provide a number or other
>> partial date or time, convert guesses what part you mean and fills in
>> the rest with the current time. (For example, if you convert a time
>> to long data and long time, you get today's date along with the time
>> you specified.) This probably should be in the convert docs as a note.
>
> Cool.
> I think.
> So I could say "that appointment is at 2PM", convert it to a date and
> time, and have it come up with "today at 2PM". Or 54 would be "the
> time right now with the seconds equal to 54".
More information about the use-livecode
mailing list