I want to be able to specify a time value in the past, down to the second. I’ll be using this with github. How do I do this?
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.
Your question is unclear.
The
datecommand takes a-dor--date=...option that lets you specify a date. The format of the specified date is fairly flexible. There are also options to control the output format. For example:date --helporinfo datefor more details.You say you’ll “be using this with github”. How will you be using it with github? Do you want to pass a formatted date string to some git command? Details, please.