Your goal is to write a function that converts the time something is scheduled to happen in to a unix time stamp. The format you receive is shown below:
- 1d 6h
- 10h 14m
- 7m 8s
- 32s
Thus, if your input was "7m 8s" you'd add 7 minutes and 8 seconds to the current unix time stamp and return that value.
Comments:
Keemo - 10 years, 5 months ago
reply permalink
Max Burstein - 10 years, 5 months ago
That was quick. Nice job!
reply permalink
Nick Krichevsky - 10 years, 5 months ago
reply permalink