Finding UTC

Earthednet-wp prothero at
Sat Feb 20 11:50:42 EST 2016

I have a little php script that returns GMT. I will post a demo stack on my server if you are interested. But it does sound like LC has this built in. However, it will need to go out to the internet if it is to eliminate its dependence on the user's computer.

William Prothero

> On Feb 20, 2016, at 7:21 AM, Graham Samuel <livfoss at> wrote:
> This may be obvious to somebody, but I am a newbie as regards LiveCode Server:
> In LCS, I can write a line of code that says something like
>  put the time
> This will of course put the time as perceived by the server where in the world my copy of LCS happens to be hosted. Given that this is arbitrary from the point of view of a user of the server, it would be easier for me if I could show the time as UTC, or what us Brits used to call Greenwich Mean Time.
> Is there any way of doing this, either within the LC engine, or by querying the server parameters, assuming it to be running Apache? Or do I  have to invoke a service like <>?
> Graham
> PS: IMHO LiveCode Server should be called ‘LiveCode Server Edition’, since the engine isn’t itself a server, it just **runs** on a server, AFAIKS. The idea of a server-within-a-server seems confusing to me.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list