Search code examples
rposixlt

Wrong value of Mon when retrieve from POSIXlt of current time


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


Solution

  • POSIXlt

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