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 <[email protected]> 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 | [email protected] > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
