Add timestamp functionality

Give the current time at different resolutions from seconds down to
nanoseconds