Hi i want to set my future_date variable to show a date that would be 90 days from today.
set $future_date ""
#set $future_date to date in unixtime stamp 90 days from the current timestamp
Can i do that in tcl?
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.
In Tcl, the
clock secondscommand returns the time now in term of seconds. To add 90 days to it, you have to multiply 90 by 60 (seconds in a minute), by 60 (minutes in an hour) and by 24 (hours in a day):Please look up the
clockcommand for more information.