startToString, endToString, millisToString impl

- with unit tests