Graham Samuel wrote:

> 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/>?

I believe you should be able to use "the internet date" for that, since it includes the UTC offset from which you can calculate UTC itself.


> 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.

Agreed, it would make it more understandable. Or perhaps even more specifically, "LiveCode CGI".

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com


_______________________________________________
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