I have a unix time_t , is there any easy way to convert this to a time_t so it:
- Represents midnight of the day of the time_t ?
- Represents the start of the hour of the time_t ?
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.
Something like this:
The constant 86400 = 24 * 60 * 60 – a useful number to remember, I think… 😉