Hi Erel,
I have taken the code from your post for converting ms to time format.
http://www.b4x.com/android/forum/threads/timeformat-trouble.10392
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
It works perfectly well ... Thanks.
I was hoping and wondering if a similar function is available to convert TimeString 0:00:00 to miliseconds so that if i pass this string to my timer then timer can start from same time onwards.
Thanks and regards.
			
			I have taken the code from your post for converting ms to time format.
http://www.b4x.com/android/forum/threads/timeformat-trouble.10392
			
				B4X:
			
		
		
		Sub ConvertToTimeFormat(ms As Long) As String
  Dim seconds, minutes, hours As Int    
  seconds = Round(ms / 1000)
  minutes = Floor(seconds / 60) Mod  60
  hours = Floor(seconds / 3600)
  seconds = seconds Mod 60
  Return NumberFormat(hours, 1, 0) & ":" & NumberFormat(minutes, 2, 0) & ":" & NumberFormat(seconds, 2, 0)
End Sub
	It works perfectly well ... Thanks.
I was hoping and wondering if a similar function is available to convert TimeString 0:00:00 to miliseconds so that if i pass this string to my timer then timer can start from same time onwards.
Thanks and regards.