Support microseconds in timestamp

- allow microseconds in input timstamps
- put microseconds in output.

Change-Id: I59d88f049aefcdce4962071f267e93391afdba5b