Alhootti Active Member Jun 21, 2024 #1 Hi guys I wanna convert Time 1:30 to minutes , it should be 90 minutes How i can do this by code ?
Alhootti Active Member Jun 21, 2024 #2 B4X: Dim a As String = "01:30" Dim minutes As Int Dim t1() As String =Regex.Split(":",a) Dim t0 As Int = t1(0) *60 +t1(1) minutes=Floor(t0) Log(minutes) Upvote 0
B4X: Dim a As String = "01:30" Dim minutes As Int Dim t1() As String =Regex.Split(":",a) Dim t0 As Int = t1(0) *60 +t1(1) minutes=Floor(t0) Log(minutes)