Can someone using 9.0.0 help me out?
This used to work in LC 7 but now generates an error on the second line
(*put*thelongidofobjRef intot1). What is the new correct syntax? This
popped up in the MasterLibrary.
-= Thanks
Mike
*on*seSetObjectState objRef, objState*
put*thelongido
What about this from the Master Library from Ken Ray?
function isDate pWhat
/* isDate Date
Syntax:
isDate (pWhat)
Examples:
isDate("10/10/2001")
Description:
Determines if the container passed to it in contains a valid
date.
Returns true or false.
Source:
Ken Ra
Al, I wrote some color conversion routines a long time ago. They are in
the MasterLibrary:
https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
I cant comment on their ability to not loose precision on a round trip.
-= Mike
On 4/13/17 6:14 PM, Alejandro Tejada via use-livec
ng things
look nice in html.
-= Mike
On 3/17/17 4:42 PM, Mark Wieder via use-livecode wrote:
On 03/17/2017 01:20 PM, Michael Doub via use-livecode wrote:
Sorry guys, I must not have been clear in my statement of the problem.
Here is the code:
put 1489755600 into tVar
convert tVar into date
Sorry guys, I must not have been clear in my statement of the problem.
Here is the code:
put 1489755600 into tVar
convert tVar into dateitems
-- on the mac tVar contains 2017,3,17,9,0,0,6
-- on the server tVar contains 2017,3,17,12,0,0,6
The local time should not be involved since you are co
Richard here is another example:
time = 1489752000
mac: dateitems = 2017,3,17,8,0,0,6
server: dateitems = 2017,3,17,12,0,0,6
I just wanted to double check that I was showing you good comparison
since I am copying from multiple windows of debug output.
-= Mike
On 3/17/17 8:46 AM, Michael Do
time = 1489755600
Mac: dateitems = 2017,3,17,9,0,0,6
server: dateitems = 2017,3,17,12,0,0,6
Code: get time
convertit to dateitems
I don't understand how the local time comes into play when converting a
constant number of seconds. The resulting date should be a constant as
well.
Wh
I am getting different answers based on environment when trying to
convert EPOC seconds to dateitems or internet date. On my mac I get
the expected result but on a HostM server I get something totally different.
Does any one have a conversion function that does not use the livecode's
convert