I know this is a rather under-level question, if you may, but I’m having some trouble looking for code that I can put in my Windows forms. I just have three mere requirements:
- I need the local time, which is EDT.
- I also need the time in 24-hour format so it’s easier to read.
- Where to put the code in my Windows forms?
http://www.cplusplus.com/reference/clibrary/ctime/localtime/