On 1/14/2015 10:27 AM, Devin Asay wrote:
In your .lc script do this:

        put "US/Mountain" into $TZ # or whatever time zone you want to show
        put shell("date") into tDTstring

Setting the $TZ variable right before called the date command returns the 
date/time the specified timezone. At least it works on the on-rev servers.

Oh cool. It works on OS X too.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.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