write date to epub