Also updated the code to make ampm invisible unless 12hour specified (So if you forgot 24hour can't support AM or PM indicators)
Just to try and help folks wrap their heads around my project.