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 <jac...@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 | 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 > _______________________________________________ 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