Re: Script to Generate Concurrent Times

2015-01-16 Thread Brahmanathaswami
I implemented my little algorithm... it works fine with a combo of nix TZ look ups + LC's native convert tools pretty straight forward. Thanks Devin! Do nix TZ times shift for the Daily Light Savings times when that goes on and off in various zones? see: http://dev.himalayanacademy.com/tests/

Re: Script to Generate Concurrent Times

2015-01-16 Thread Mark Wieder
Pete- Friday, January 16, 2015, 9:30:21 AM, you wrote: > Even without an SQLite database in an application, I sometimes create an in > memory database just so I can issue SELECT statements to calculate dates > and times. OK - after my initial shock, I have to say that's pretty clever. -- -Mark

Re: Script to Generate Concurrent Times

2015-01-16 Thread Peter Haworth
If, by chance, an SQLite database is involved in your application, its strftime() function has a lot of very powerful date adjustment/conversion tools which might help. Even without an SQLite database in an application, I sometimes create an in memory database just so I can issue SELECT statements

Re: Script to Generate Concurrent Times

2015-01-15 Thread William Prothero
That is hilarious, in a gruesome way. Bill > On Jan 15, 2015, at 8:10 PM, Simon wrote: > > Then there is this; > https://www.youtube.com/watch?v=-5wpm-gesOY > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabb

Re: Script to Generate Concurrent Times

2015-01-15 Thread Simon
Then there is this; https://www.youtube.com/watch?v=-5wpm-gesOY Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-to-Generate-Concurrent-Times-tp4687781p4687891.html Sent from the Revolution - User mailing list archive at Nabble.com

Re: Script to Generate Concurrent Times

2015-01-15 Thread Brahmanathaswami
Roger Eller wrote: So that's where the old saying, "your singing would bring a jersey cow to tears" comes from. LOL! Hmmm back on topic: Requirement: Generate current time list for a *future* time (for scheduled webinar) OK, so it is easy enough to get world time from the linux system. a

Re: Script to Generate Concurrent Times

2015-01-14 Thread Roger Eller
So that's where the old saying, "your singing would bring a jersey cow to tears" comes from. Sent from my Android tablet On Jan 14, 2015 9:56 PM, "Brahmanathaswami" wrote: > ha! I meant new Jersey cows. > > We retired all our crazy Holsteins to our 200 acres of guinea grass across > the rive

Re: Script to Generate Concurrent Times

2015-01-14 Thread J. Landman Gay
On January 14, 2015 8:56:27 PM CST, Brahmanathaswami wrote: > Years ago we had one >Jersey that was so gentle that I could take a nap in the field with my >head on her neck (she was also laying down) and when i would sing to >her, her ears would perk up and tears would roll out of her eyes. P

Re: Script to Generate Concurrent Times

2015-01-14 Thread Brahmanathaswami
ha! I meant new Jersey cows. We retired all our crazy Holsteins to our 200 acres of guinea grass across the river. I say "crazy' because "Deepti" was indeed a little wild... quite ready to chase you in a little Ranger and 2,000 pounds of white bovine rushing at you because she thinks you

Re: Script to Generate Concurrent Times

2015-01-14 Thread Mark Wieder
Brahmanathaswami- Wednesday, January 14, 2015, 6:15:07 PM, you wrote: > Tomorrow we will decorate and worship our lovely New Jersey cows. OK - I have to say that sequence of words totally blindsided me. Did not see that coming. -- -Mark Wieder ahsoftw...@gmail.com This communication may be u

Re: Script to Generate Concurrent Times

2015-01-14 Thread Brahmanathaswami
Devin: thanks! "set the $TZ" a perfect little gift on this Happy Makara Sankranti/Thai Pongal. Big feast day in India today, sun moved into Capricorn, celebrate the post monsoon harvest. Tomorrow we will decorate and worship our lovely New Jersey cows. see: http://dev.himalayanacademy.co

Re: Script to Generate Concurrent Times

2015-01-14 Thread J. Landman Gay
On 1/14/2015 1:22 PM, Roger Eller wrote: Apparently on Windows the "date" command is used to SET the time. That's too bad. I briefly looked for an equivalent but couldn't find one. I did find this though, which applies to Linux-based systems: Valid locations for $TZ can be found here: /usr/s

Re: Script to Generate Concurrent Times

2015-01-14 Thread Roger Eller
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 wrote: > On 1/14/2015 10:27 AM, Devin Asay wrote: > >> In your .lc script do this: >> >>

Re: Script to Generate Concurrent Times

2015-01-14 Thread J. Landman Gay
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.

Re: Script to Generate Concurrent Times

2015-01-14 Thread Devin Asay
On Jan 13, 2015, at 10:21 PM, Brahmanathaswami wrote: > We are planning to do some webinars. I am looking for a liveCode script that > can read a time value on our web server and output a little array like: > > Honolulu: 1:30 PM Sunday Jan 16 > San Franscisco 4:30 PM Sunday Jan 16 > Chicago 6:

Script to Generate Concurrent Times

2015-01-13 Thread Brahmanathaswami
We are planning to do some webinars. I am looking for a liveCode script that can read a time value on our web server and output a little array like: Honolulu: 1:30 PM Sunday Jan 16 San Franscisco 4:30 PM Sunday Jan 16 Chicago 6:30 PM Sunday Jan 16 Toronto: 6:30PM Sunday Jan 16 New York: 7:30PM