Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Dates
- # %d Day of the month (decimal number)
- # %m Month (decimal number)
- # %b Month (abbreviated)
- # %B Month (full name)
- # %y Year (2 digits)
- # %Y Year (4 digits)
- date <- "05-27-84"
- betterDate <- as.Date(date, format = "%m-%d-%y")
- betterDate
- my.date <- "Май/03/2022"
- date.format <- as.Date(my.date, format = "%B/%d/%Y")
- date.format
- strptime("11:02:03", format = "%H:%M:%S")
Add Comment
Please, Sign In to add comment