- Reaction score
- 1,584
I am writing a little script that will allow you to enter 2 dates and it will give your the TSP fund returns during that period. I'm having a hard deciding how to ask for the dates.
There are a few ways to do it, but which way makes more sense to you, the user?...
Let's say you have to enter a START_DATE and an END_DATE
If you enter July 1 and July 31, you would think you'd get the returns for the month of July, but what you'd actually get is July 2 through July 31 since the July 1 prices are COB prices.
To get the full July monthly return you'd actually have to enter June 30 and July 31. I'm guessing that will confuse a lot of folks.
I'm looking for ideas on how to ask the user to enter the dates: Some examples...
Enter Start Date:
Enter End Date:
Enter Start COB Date:
Enter End COB Date:
I could program it so that if someone enters July 1, it automatically starts with COB June 30.
Etc.?
Thanks for your input!
There are a few ways to do it, but which way makes more sense to you, the user?...
Let's say you have to enter a START_DATE and an END_DATE
If you enter July 1 and July 31, you would think you'd get the returns for the month of July, but what you'd actually get is July 2 through July 31 since the July 1 prices are COB prices.
To get the full July monthly return you'd actually have to enter June 30 and July 31. I'm guessing that will confuse a lot of folks.
I'm looking for ideas on how to ask the user to enter the dates: Some examples...
Enter Start Date:
Enter End Date:
Enter Start COB Date:
Enter End COB Date:
I could program it so that if someone enters July 1, it automatically starts with COB June 30.
Etc.?
Thanks for your input!