cleaning date fields

Re: cleaning date fields

by Laura Koth -
Number of replies: 0

thanks for your post!

has anyone ever heard of using the following one line of command to do the same thing:

gen new_date_field = date(original_date_field, "YMD###")

it seems like it worked to generate a new date field that I could then format using "format new_date %td"