-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safi_dates.xlsx date format issue #108
Comments
Hi @elletjies - so it sounds like that tab needs to be moved from |
In the lesson it asks you to choose as per your countries convention, for example South Africa will choose DD-MM-YY and US MM-DD-YY. The problem is the format of the first tab is really funny and I cant extract the year/month or date here (=year or =month or =day) |
ok gotcha - will have to take a closer look. if you have suggestions for making it workable, let me know! |
@chris-prener will think how we can perhaps use the other datasets (already used in this lesson) to achieve the same outcome |
Great, will do the same @elletjies ! |
@chris-prener I edited the SAFI_dates file and it seems to be working now (well on my Excel). I did the following:
Shout if it is not working on your side. |
OK - will check into this tomorrow @elletjies! |
@chris-prener just checking in - did the changes to the file work? |
I know this issue is pretty old, but I ran into the same thing (or a very similar issue) when I taught this lesson last week. I tested the lesson using the MM-DD-YY tab, and it worked fine, but many of my students wanted to use the DD-MM-YY tab, and it didn't work. The dates in that tab are not formatted as dates, they are formatted as text and Excel can't see them as dates (at least the North American version of Excel). I think this could be fixed by:
When I make those changes on the MM-DD-YY tab, where the first column is formatted as numbers, it looks the same as the DD-MM-YY tab, but the date/month/year extractions actually work. |
While preparing the first tab (DD_MM_YY) interview_date variable does not allow for extraction of year, date or month.
The MM_DD_YEAR tab's interview_date variable is in the format of YY-MM-DD and this allows for extraction of year, date or month
The text was updated successfully, but these errors were encountered: