Hello,
I have a csv file with a date variable and other variables from Google Trends.

When I import this file to Stata, I have this preview.

The date column in the preview looks different from the original CSV file. (1/1/2004 vs. 2004-01-01)
The problem is that if I changed the value in the CSV file, the format of the date column also changed.
I changed 17 to 12 in the hits column (first row) and saved it as CSV.


You can see the format of the date column changed.
Could you help me keep the same format (yyyy-mm-dd) after changing values?
I attached the CSV file.
Thanks!
I have a csv file with a date variable and other variables from Google Trends.
When I import this file to Stata, I have this preview.
The date column in the preview looks different from the original CSV file. (1/1/2004 vs. 2004-01-01)
The problem is that if I changed the value in the CSV file, the format of the date column also changed.
I changed 17 to 12 in the hits column (first row) and saved it as CSV.
You can see the format of the date column changed.
Could you help me keep the same format (yyyy-mm-dd) after changing values?
I attached the CSV file.
Thanks!
Comment