fix iOS SDK duraiton calculation problems.
Fix conversion error