strange problems with SEND

Klaus major-k klaus at major-k.de
Fri Jan 17 11:11:52 EST 2020


Hi all,

> Am 17.01.2020 um 16:58 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
> 
> Just tested this in LC 5.02 and it worked as exspected!
> The pendingmessages show 1579330812.096689 as "delivery" time
> which resolves nicely to -> Saturday, January 18, 2020
> 
> Tested also in LC 9.05 and it works as exspected, too!?
> 
> A new bug? :-/

maybe this has to do with "centurycutoff"?
But then this problem should also be in LC 5.02 and 9.05, right?

>> Am 17.01.2020 um 16:46 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> HI all,
>> 
>> I want to execute a handler in the future -> tomorrow at 8:00 AM
>> So I scripted:
>> ...
>> put the date into tDatum
>> convert tDatum from date to dateitems
>> add 1 to item 3 of tDatum
>> put 8 into item 4 of tDatum
>> 
>>  ## dateitems:
>>  # 1. the year
>>  # 2. the month number
>>  # 3. the day of the month
>>  # 4. the hour in 24-hour time
>>  # 5. the minute
>>  # 6. the second
>>  # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth 
>> 
>> convert tDatum from dateitems to seconds
>> put tDatum - the seconds into tNeuesDatum
>> send "checkabfrage" to me in tNeuesDatum secs
>> put the result into checkabfrage_id   
>> ...
>> Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct.
>> 
>> However, when I query "the pendingmessages" this message shows up as:
>> 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode"
>> 
>> But 3158550744.943945 as "delivery" time resolves (convert) to: 
>> long system date -> Sonntag, 2. Februar 2070
>> long date -> Sunday, february 2, 2070?
>> date -> 2/2/70
>> 
>> Is this broken somehow or am I missing something?
>> Any insight appreciated!
>> 
>> 
>> Best
>> 
>> Klaus
>> --
>> Klaus Major
>> https://www.major-k.de
>> klaus at major-k.de
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> --
> Klaus Major
> https://www.major-k.de
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list