usage time parser for both in secongs and milliseconds unit