📜  如何返回仅包含日期的日期 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:59.499000             🧑  作者: Mango

代码示例1
format(as.Date(df$x,format="%Y-%m-%d"), format = "%d")

# or

format(df_meas$Time, format= %d")
# where df_meas$Time is of as.POSIXlt class