On Wed, Jan 28, 2015 at 8:12 PM, Brahmanathaswami <bra...@hindu.org> wrote:
> 2000-02-17T22:13:21-05 > > As anyone written a script to convert this to seconds? > If the positioning is fixed (as is implied by the leading 0s) then I think this will work: function S D put format("%s/%s/%s %s",char 6 to 7 of D,char 9 to 10 of D,char 1 to 4 of D,char 12 to 19 of D) into R convert R to seconds return R + 3600 * char -3 to -1 of D end S _______________________________________________ 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