Hi.In the VF I used the date format as YYYY-MM-dd in the <apex:outputText value="{0,date,YYYY/MM/dd}">Before the last week of the year it was OK. When the new year falls in the last week of Decemeber comes the issue.For example2014:S M T W Th F Sat28 29 30 31 1 2 3In the above calendar 1st Jan of 2015 falls in the Thurusday.So when I viewd the records of 28,29,30 of December 2014 It showed as2015-12-282015-12-292015-12-302015-12-31After that I came to know that@"YYYY" is week-based calendar year.@"yyyy" is ordinary calendar year.http://realmacsoftware.com/blog/working-with-date-and-timecheerssuresh