Try specifying the format string:
.ToString("yyyy-MM-dd")
and see if that helps.
If you don't, the ToString operation uses the current default date conversion set for the computer it is run on, which could be anything, but most likely is dd/MM/yyyy or MM/dd/yyyy