I don't think it "strips" the TZ info - it simply ignores it. I think
the key phrase is in the dictionary as :
*Note:* The *convert* command assumes all dates / times are in local
time except for 'the seconds', which is taken to be universal time.
So it assume syou date is in local time (reg
Hi,
i am not sure if this is still the way how to do it with newer LC Server
versions, but at least it still works with LC 9.6.1
First copy the folder of of the time zone library to your server for example
into a folder extension
Then, to use the library you'll have to put the following 2 line
Just created a handler that I want to use in a Livecode server that uses the
Time Zone Library handler TimeZones(). So:
1. How do I find where the library is?
2. How do I add it so the server code can use it?
On 6 Nov 2020, 21:28 +, How to use LiveCode
, wrote:
>
> ToUniversalTime
_
Why does:
get "Fri, 06 Nov 2020 10:57:37 +0300"
convert it to internet date
put it
— give
"Fri, 06 Nov 2020 10:57:37 +"
Just seems to strip the timezone info?
On 30 Oct 2020, 21:29 +, How to use LiveCode
, wrote:
>
> ToUniversalTime
___
use-li
Hi Matthias,
Hmm, I should never do things when I’m tired.
I do the following all the time with LC session variables
and they do use the quotes.
put $_SESSION["userid"] into Varuserid
Yet the following works nicely and no array is needed:
var amount1 = 23;
var amount2 = 56;
var total = amou
I can see the advantages of doing it yourself and intend trying both methods as
suggested by yourself and Jaqueline.
I have noted when trying some of the widgets that they do seem to be rather
incomplete.
All the best
Terry
> On 5 Nov 2020, at 22:43, Bob Sneidar via use-livecode
> wrote:
>
Thanks for your suggestion will give it a try.
All the best
Terry
> On 5 Nov 2020, at 20:10, J. Landman Gay via use-livecode
> wrote:
>
> On 11/5/20 1:47 AM, Terence Heaford via use-livecode wrote:
>> I have been messing about with the Segmented Control Widget and have been
>> trying to appl
I doubt that the qoutes were the problem. ;)
Your
put $_cookie[username]
will replace the content of the var username.
In your case, if the value of variable username for example is Peter then
LC would replace $_cookie[username] with $_cookie["Peter"]
If username wasn't used before then LC