'how to change the clock format in xamarin in visual studio?

i want a clock who is in 24 hours format also shows the seconds, so i wrote this line of code in the texte clock

  android:format24Hour="hh:mm:ss"

my problem is, for example, now it's time 17:58:50 but the application says 5:58:50 and i want 17:58:50. Thanks for the help, and also i would like to know how did you find the answer because i did a lot of research for it and i didn't found the answer and i would like to become more independant



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source