powered by
decimal_date(date)
date <- ymd("2009-02-10") decimal_date(date) # 2009.11
Run the code above in your browser using DataLab