Script to Generate Concurrent Times

Roger Eller roger.e.eller at sealedair.com
Wed Jan 14 14:22:30 EST 2015


Apparently on Windows the "date" command is used to SET the time.  The
result is:

The current date is: Wed 01/14/2015

Enter the new date: (mm-dd-yy)




On Wed, Jan 14, 2015 at 12:27 PM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:

> 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
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list