Function for ISO-8601 date

Signed-off-by: Michael Barton <mail@michaelbarton.me.uk>