Are boost ptime instances always UTC? I can’t see any time zone info on them.
Are boost ptime instances always UTC? I can’t see any time zone info on
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.
The ptime has no associated timezone information. It does not know whether the content is in UTC or local time. In fact, you could do silly things like:
and it will happily create a meaningless time for you.