RE: TeraScript-Talk: Question About Converting Time to Something Numeric

2013-03-29 Thread Robert Shubert
Mark, It would be correct to set the timeout per user User$variabletimeout=120 When they login Robert From: Mark Weiss [mailto:weis...@ldschurch.org] Sent: Friday, March 29, 2013 4:12 PM To: TeraScript-Talk@terascript.com Subject: Re: TeraScript-Talk: Question About Converting Time

Re: TeraScript-Talk: Question About Converting Time to Something Numeric

2013-03-29 Thread Mark Weiss
One more question: This app I am making, needs a variable time out for users that is different than other apps on my server. This needs to be about 120 minutes. Do I use set the Variabletimeout for each user or do I set it via the application variable? <@ASSIGN NAME=variableTimeout SCOPE=app

Re: TeraScript-Talk: Question About Converting Time to Something Numeric

2013-03-29 Thread Mark Weiss
Makes total sense now.. I always wondered about the single radio button in the results section of a query. It's an array. Thanks. It's all working now. Mark On Mar 29, 2013, at 10:56 AM, Mark Weiss wrote: Way Strange. Still doesn't work. MySQL DB. myISAM Default Character Set latin1 Default C

RE: TeraScript-Talk: Question About Converting Time to Something Numeric

2013-03-29 Thread Robert Shubert
Subject: Re: TeraScript-Talk: Question About Converting Time to Something Numeric Way Strange. Still doesn't work. MySQL DB. myISAM Default Character Set latin1 Default Collation: latin1_swedish_ci the field I am totalling is a MySQL Time field. This is how the DB is set up as de

Re: TeraScript-Talk: Question About Converting Time to Something Numeric

2013-03-29 Thread Mark Weiss
Way Strange. Still doesn't work. MySQL DB. myISAM Default Character Set latin1 Default Collation: latin1_swedish_ci the field I am totalling is a MySQL Time field. This is how the DB is set up as default. Custom Action select sec_to_time(sum(Time_To_Sec(r_recordingtotal))) from Recordings where

RE: TeraScript-Talk: Question About Converting Time to Something Numeric

2013-03-29 Thread Robert Shubert
Mark, @TIMETOSECS is the solution, what you have should work. I wrote the below script as a test, and it functioned as expected: <@ASSIGN duration_part '00:00:20'> <@ASSIGN duration_total '00:00:40'> partial duration: @@duration_part (string) total duration: @@duration_total (string) <@ASSIGN