How do you get the time zone information for a remote file using libcurl.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Files don’t have time zones. What exactly are you trying to determine? The time zone in which a user created a file? The time zone in which the server hosting the file resides? The time zone in which the client downloading the file resides? HTTP/1.1 (and I’m assuming you’re only interested in HTTP) doesn’t provide any representation of time that includes a time zone. There are various web services that will guess at the physical location of a server based on an IP address, and some that will even return a time zone based on that guess, but it’s hard to know if that’s the kind of thing you’re looking for.