In fact, it was even something that was discussed during the Mexican-American War, which is considered the first of the “modern wars”. Navy began setting up its Military Timekeeping Service, it was originally designed for military purposes only. This included keeping track of military bases and planning operations around the world. Military time is a relatively recent concept. While most people can easily work with it, it’s going to take a little bit of time to get used to it. If the period is “PM” and the number of hours is in the interval [1;11], then add 12. If the period is “AM” and the number of hours is 12, then 12 changes to 00. Thanks for reading my article and sending your comment! Please note that I do not place links to other web sites on this blog. If you liked this informative article and you wish to receive more info regarding web site generously go to our web-site. Donations to freeCodeCamp go toward our education initiatives, and help pay for servers, services, and staff.