Finding UTC
Graham Samuel
livfoss at mac.com
Sat Feb 20 10:21:05 EST 2016
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.
More information about the use-livecode
mailing list