I need to see the difference between 2 hours. example initial 18:30 final 18:45 total minutes 15
J Jose Briceño Member Licensed User May 22, 2019 #1 I need to see the difference between 2 hours. example initial 18:30 final 18:45 total minutes 15
josejad Expert Licensed User Longtime User May 22, 2019 #2 Have you tried DateUtils? https://www.b4x.com/android/forum/threads/b4x-dateutils-simplifies-date-and-time-calcuations.26290/
Have you tried DateUtils? https://www.b4x.com/android/forum/threads/b4x-dateutils-simplifies-date-and-time-calcuations.26290/
J Jose Briceño Member Licensed User May 22, 2019 #3 perfect. another query and see the time such as: 17:35 and not that it comes out that way 05:35 18:50 and not that it comes out like that 06:50
perfect. another query and see the time such as: 17:35 and not that it comes out that way 05:35 18:50 and not that it comes out like that 06:50
J Jose Briceño Member Licensed User May 22, 2019 #4 DateTime.DateFormat = "dd MM yyyy HH:mm" '24 Hour format .. 'HH' Log (DateTime.Date(DateTime.now)) DateTime.DateFormat = "dd MM yyyy hh:mm" '12 hour format .. 'hh' Log (DateTime.Date(DateTime.now))
DateTime.DateFormat = "dd MM yyyy HH:mm" '24 Hour format .. 'HH' Log (DateTime.Date(DateTime.now)) DateTime.DateFormat = "dd MM yyyy hh:mm" '12 hour format .. 'hh' Log (DateTime.Date(DateTime.now))