Script to Generate Concurrent Times

J. Landman Gay jacque at hyperactivesw.com
Wed Jan 14 12:27:33 EST 2015


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         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list