writeInstant

Writes an Instant. Conversion function on top of writeDateTime.