Replace time() with DateTime's getTimestamp()

While this doesn't address the overall architectural issues (https://github.com/cakephp/cakephp/issues/2226) in the Time utility, it's a small step in the right direction for the time being (pun intended, :smile: ).