-3

The value of "mon" which is month of the year returned is 7 instead of 8. What is the possible cause of this? I am using RStudio - Version 0.99.467.

enter image description here

superhuman1314
  • 242
  • 2
  • 11

1 Answers1

2

POSIXlt

mon 0–11: months after the first of the year.

Yong
  • 1,107
  • 1
  • 12
  • 21
  • 2
    Could you expand your answer? For the moment, you don't give more information than the above comments. –  Aug 24 '15 at 11:33
  • 2
    If you wrapped it in a full example it would probably be good for the OP. Otherwise, this provides no additional value than the comments do. – hrbrmstr Aug 24 '15 at 11:35
  • From the document, the value of the month is from 0~11. So the value of August will be 7 instead of 8. – Yong Aug 24 '15 at 11:36