user297850
user297850

Reputation: 8005

Transform an input with "month year" to "month/year" in R

If a time-related information is read as "Jun 2008". Are there any convenient approaches to transform it into date format in R or Excel, i.e., 06/2008?

Upvotes: 0

Views: 47

Answers (1)

ZygD
ZygD

Reputation: 24356

In Excel the following formula will do the trick:

=TEXT(A1,"mm/yyyy")

Upvotes: 1

Related Questions