I IslamQabel Active Member Licensed User Longtime User Mar 16, 2014 #1 Anyone can help me to answer on my question? i have changed the date format successfully........now i want to change it?
Anyone can help me to answer on my question? i have changed the date format successfully........now i want to change it?
mangojack Well-Known Member Licensed User Longtime User Mar 16, 2014 #2 B4X: 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)) this might be useful ... Date and Time patterns / Formatting strings ... Last edited: Mar 16, 2014 Upvote 0
B4X: 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)) this might be useful ... Date and Time patterns / Formatting strings ...
I IslamQabel Active Member Licensed User Longtime User Mar 17, 2014 #3 mangojack said: B4X: 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)) this might be useful ... Date and Time patterns / Formatting strings ... Click to expand... yes i mean changing time format and also am/pm indicator? Upvote 0
mangojack said: B4X: 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)) this might be useful ... Date and Time patterns / Formatting strings ... Click to expand... yes i mean changing time format and also am/pm indicator?
Erel B4X founder Staff member Licensed User Longtime User Mar 17, 2014 #4 See the link posted above. 'a' is the am/pm marker: B4X: DateTime.DateFormat = "dd MM yyyy hh:mm a" Upvote 0
I IslamQabel Active Member Licensed User Longtime User Mar 18, 2014 #5 works perfect.......thanks a lot Upvote 0
I IslamQabel Active Member Licensed User Longtime User Mar 18, 2014 #6 In addition to to display seconds also DateTime.DateFormat= "dd MM yyyy hh:mm:ss a" Upvote 0