Use parse-ms instead of pretty-ms. It wasn't possible to make it return what I wanted it to return. Was easier to just do that manually.