Deep Bot - Twitch Streamer Assistant

Deep Bot => Feature Requests => Topic started by: TheDefiant604 on January 17, 2017, 06:13:10 AM

Title: A Time-Since Variable
Post by: TheDefiant604 on January 17, 2017, 06:13:10 AM
I would like to have a @countup@ or @timesince@ variable that would provide the time since a given date & time.  Ideally, the output would be in the form of years, months, days, hours.  This could be done as an option to the @unixtime@ variable, so that instead of just using @unixtime@ to get seconds since epoch, expand the variable to accept a date and optional time, such as @unixtime@[November 01, 2000 21:30 -0800], and then we could use @calc@ to calculate the years, months, etc.

This is to replace using a similar Moobot variable, that only provides weeks, days, hours, no matter how many years ago the given date and time are.
Title: Re: A Time-Since Variable
Post by: eTheBlack on September 17, 2017, 05:22:15 AM
We need this, idk why it is not here yet
Title: Re: A Time-Since Variable
Post by: TheNumbLock on September 17, 2017, 05:25:32 AM
Already is: @unixtime@   Numeric time for use in if statements. (Number of seconds since January 1, 1970)