There appears to be a bug(s) in the implementation of DateTime functions in Julia 0.6RC3 as shown below:
_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: https://docs.julialang.org
_ _ | | __ _ | Type “?help” for help.
| | | | | | |/ ` | |
| | || | | | (| | | Version 0.6.0-rc3.0 (2017-06-07 11:53 UTC)
/ |_’|||_’_| | Official http://julialang.org/ release
|__/ | x86_64-w64-mingw32
Clearly the epoch base was chosen as 0001-01-01T00:00:00 rather than 0000-01-01T00:00:00 as stated in the stdlib manual.
I would have raised an issue about this had I been able to figure out how to do so - being very new on github. Nevertheless I certainly would not have expected conversion and back conversion to have been off by a full year!