Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

date format

 
siva prakash
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

What does MMDDCCYY format represents while representing current date. I know MM stands for month, DD for date, YY for year , what is CC about ?




With Regards,
Prakash
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Canadian Club?

Where did you see this? It's not an abbreviation from java.text.SimpleDateFormat,
but C is sometimes used for century: See java.util.Formatter in 1.5, for example.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic