I set up a command that logs a timestamp in a list API retrievable via a urlfetch. I want to use that timestamp as the basis for both a countup and a countdown timer with Nightbot to return both timers in a single command. The amount of time I want to add to the timestamp is static [90 minutes]. (The idea is to say "we started Xtime ago and have Ytime left" | X being the original timestamp with countup and Y having an additional 90 minutes tacked on with countdown)
I can't quite get any JS working to add the time. The timestamp is formatted as: MMM Do YYYY HH:mm:ss | I would settle for establishing a second timestamp to store the 90 minute later timestamp, but I don't think that makes a difference. Can anyone here provide some guidance on combining a countdown command with an embedded urlfetch to retrive the timestamp and adding 90 minutes to that?
Thanks in advance...