Hello all, this is my first post on this site. I am currently dealing with a variable whose entries look like this:
10/11/2006-26/01/2012 (in string format)
I would like to separate the two dates into two new variables. How should I go about that? I've been trying to use strpos() and related, but not all the variables have the same length of dates (as in sometimes is 01/01/19 and sometimes 1/1/19).
Thanks,
Kristina
Related Posts with How to separate 2 dates that are currently in 1 variable?
Calculate total grants company_id year grant co_001 2003 1 co_001 2004 0 co_001 2005 1 co_001 2005 1 co_002 20…
GMM methodGoodnight all, I have some problems regarding the GMM method for a sample (panel study) of 14 countr…
Interpreting coefficients in log-linear model when independent var is percentIf I run a model where the dependent variable is log sales price of a home and the independent varia…
Panel Structural VARHello all, I am working on finding the us monetary policy impact on a bunch of countries and for thi…
Calculate total grants company_id year grant co_001 2003 1 co_001 2004 0 co_001 2005 1 co_001 2005 1 co_002 20…
Subscribe to:
Post Comments (Atom)
0 Response to How to separate 2 dates that are currently in 1 variable?
Post a Comment