Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

convert a datetime to date r

#Return "2021-01-20 20:11:59" as yyyy-mm-dd format
as_date("2021-01-20 20:11:59")

#> [1] "2021-01-20"
 
PREVIOUS NEXT
Tagged: #convert #datetime #date
ADD COMMENT
Topic
Name
2+9 =