解析字符串日期格式的可能工具?

问题描述

我发现自己经常想办法找出日期的格式,例如:

enter image description here

library(purrr) library(dplyr) library(readxl) library(openxlsx) # // replace the path/to/your - actual path fileA <- 'path/to/your/A.xlsx' fileB <- 'path/to/your/B.xlsx' nmA <- excel_sheets(path = fileA) nmB <- excel_sheets(path = fileB) nm1A <- setNames(rep(fileA,length(nmA)),nmA) nm1B <- setNames(rep(fileB,length(nmB)),nmB) lstC <- imap(c(nm1A,nm1B),~ read_excel(.x,sheet = .y) %>% mutate(sheetname = .y)) names(lstC) <- c(nmA,nmB) write.xlsx(lstC,'/path/to/your/C.xlsx') dddDmmm 等等。然后我通常会去类似http://strftime.net/ 然后使用 python 进行一些试错。有没有更直接的方法来找出日期字符串的格式?我希望有类似 urlencoding 或字体确定器 https://www.myfonts.com/WhatTheFont/ 的工具,您可以在其中粘贴字符串并解析输出。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)