eager2no,
the custom format is case sensitive. I just tried it with yyyy.MM.dd and I get 2010.02.11, which correctly represents today's date.
YYYY.MM.DD gave me nothing legible, and yyyy.mm.dd gave me what you get (the month part actually being the minutes of the current time).
HTH
Torsten