Description | Example | |
%d | day as number (0 – 31) | 18 |
%a | abb. weekday | Sun |
%A | unabb. weekday | Sunday |
%m | month (00 – 12) | 09 |
%b | abb. month | Jan |
%B | unabb. month | January |
%y | 2 digit year | 14 |
%Y | four digit year | 2014 |
- More information in this nice lubridate tutorial http://www.r-statistics.com/2012/03/do-more-with-dates-and-times-in-r-with-lubridate-1-1-0/
- The lubridate vignette is the same content http://cran.r-project.org/web/packages/lubridate/vignettes/lubridate.html
Source from: http://jtleek.github.io/modules/03_GettingData/04_04_workingWithDates
沒有留言:
張貼留言