| Start |
|---|
| Current Date and Time R is able to access the current date, time and time zone: Use |
| Go to the End of the Month Let's say we want to go to the last day of the month, this function will help on it: Test: Using a date in a string format: |
| Go to First Day of the Month Let's say we want to go to the first day of a given month: |
| Move a date a number of months consistently by months Let's say we want to move a given date a It moves consistently the month part of the date and adjusting the day, in case the date refers to the last day of the month. For example: Back one month: Back two months: Forward two months: It moves two months from the last day of February, therefore the last day of April. Let's se how it works for backward and forward operations when it is the last day of the month: Because November has 30 days, we get the same date in the backward operation, but: Because January has 31 days, then moving two months from last day of November will get the last day of January. RemarksClasses[Date](http://stackoverflow.com/documentation/r/9015) The only date class, stores the date as a floating-point number. Selecting a date-time formatPOSIXct is the sole option in the tidyverse and world of UNIX. It is faster and takes up less memory than POSIXlt. Specialized packages
|
Read Article
https://develop.horje.com/learn/1434/reference