Swig-compatible date output.