Looking for help in unix to get the following date stamps using unix date:
today at 12:00am
12:00am - 15 days ago
12:00am - 30 days ago
in Unix epoch time? (1300295838)
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.
Today at 12:
To do date arithmetic:
date -d "$mydate 15 days ago"To get epoch time:
date +%sTo put together in oneliner: