title: How to get the date and time from the internet using MFC
body: <p>I am trying to build an application for tryout, and I need to download the date and time from the site <em>time.windows.com</em>, so the application will stop working after several days. I thought about getting the local date and time which the user set up in Windows, but I don't think that's very reliable. I thought about using the classes <strong>CSocket</strong> and <strong>CSocketFile</strong> and something like that, but I am not sure. Can you superheroes please tell me how to download this information from <em>time.microsoft.com</em>?</p>