How can you calculate the following Friday at 3am as a datetime object?
Clarification: i.e., the calculated date should always be greater than 7 days away, and less than or equal to 14.
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.
Here’s a function and a test that it meets the OP’s requirements: