Thread: time to seconds
View Single Post
  #2  
Old 08-11-2006, 02:39 PM
heidi heidi is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
heidi is on a distinguished road
Default

The number of seconds elapsed when the time is $time (in the 60 = 100 format) would be $time{0}*60 + $time{1}.$time{2}. Since $var{n} is the (n+1)th character of $var, so if I take the first character, muliptly by 60, and then add it to a concatenation of the second on third (Whicch represent the number of seconds) I have what I need. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - time to seconds
Thread: time to seconds
View Single Post
  #2  
Old 08-11-2006, 02:39 PM
heidi heidi is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
heidi is on a distinguished road
Default

The number of seconds elapsed when the time is $time (in the 60 = 100 format) would be $time{0}*60 + $time{1}.$time{2}. Since $var{n} is the (n+1)th character of $var, so if I take the first character, muliptly by 60, and then add it to a concatenation of the second on third (Whicch represent the number of seconds) I have what I need. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote