Skip to content

All that research…

Some research is useful-

Primary Menu

#CONVERTINGDATES

[STATA] Converting Dates

Posted on September 28, 2020September 30, 2020 by admin
[STATA] Converting Dates

As a researcher, I get data with various data formatting- And it was always annoying to convert the dates because I would often forget the codes- So here I share the codes to convert various string dates to STATA format dates. Convert DD/MM/YYYY: gen numeric_date=date(string_date, “DMY”) Convert YYYY-MM-DD or YYYYMMDD: Continue Reading

Posted In STATATagged In #CONVERTINGDATES, #DATE, #STATA, #STRINGDATE

Posts by Category

  • Daily (28)
  • Economics (17)
  • Education (10)
  • Faith (2)
  • Investing (111)
  • Money (6)
  • People (1)
  • Recruiting (4)
  • Research (11)
  • Review (2)
  • Science (1)
  • STATA (4)
Copyright All rights reserved | Theme: Flash Blog by Unitedtheme.