| View previous topic :: View next topic |
| Author |
Message |
vans Voice
Joined: 09 Aug 2007 Posts: 20
|
Posted: Sat Nov 24, 2007 2:10 pm Post subject: Converting M/D/Y dates to timestamps. |
|
|
Hey everyone
I have this tvrage lookup script that on the !next command tells the user the next episode of the tv show they wanted.
It works great but i was wondering if there is a way to convert the M/D/Y dates which is used by the script into timestamps so i can parse them and create a countdown next episode? e.g. the next episode is blahblah [1 week, 2 days, 10 hours away]
This script uses this page (this example is using Chuck):
http://www.tvrage.com/quickinfo.php?show=chuck
I hope this makes sense and thanks in advance.
-Vans |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Nov 24, 2007 4:47 pm Post subject: |
|
|
There are 2 tvrage.com scripts. And there are corresponding support threads for both, iirc. You should specify which script you're talking about, and post under the appropriate thread. The tvrage script from gaveup that I'm unofficially maintaining already does announces for upcoming shows, but I assume you're talking about a different script.
Post replies in the thead for the right script in the release/support forum. |
|
| Back to top |
|
 |
|