Graham,
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.
Bill

William Prothero
http://es.earthednet.org

> On Feb 20, 2016, at 7:21 AM, Graham Samuel <livf...@mac.com> 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 worldtimeserver.com <http://worldtimeserver.com/>?
> 
> TIA
> 
> 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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to