How to display time in 12 or 24 hour format?
Time is usually displayed in two formats: 12 hours or 24-hour format. Some user prefers 12-hour format (for example, 5:15 PM) with AM and PM suffixes while for some users it’s a hassle and they prefer 24-hour format (for example, … Continued