support millisecond precision timestamps