Revert "Revert "time parser with more functions""

This reverts commit b00ad4d6998232b2a7f53b230336ca714e4e3e2b.