Now in V10.2, DatePlus has changed it behaviour in a undocumented way.

Now, DatePlus[n] (with n as Integer) return current date in the format:

{year, month, day, hour, minute, second}

{year, month, day}.

There is some parameter that controls that? So I can return to old behaviour?

IMHO this is a very bad practice. Make version update much more hard, and can easy break old code.

• The best practice is to always use DateValue when working with Dates. This decouples your code from the way that these date functions will choose to represent their output. – Searke Aug 12 '15 at 15:35
• @Searke, this is a nice tip. I have never used DateValue. – Murta Aug 12 '15 at 15:54

   With[{DatePlus = Function[Null, Take[DatePlus[##], 3]]},

• Why not With[{DatePlus = Take[DatePlus[##], 3] &}, (* stuff *) DatePlus[2]] or even With[{DatePlus = DatePlus[##][[;; 3]] &}, (* stuff *) DatePlus[2]]? – m_goldberg Aug 17 '15 at 23:01