modglin
Programmer
- Apr 10, 2001
- 105
I have a string that is 20021231. I need to convert this to a date field so that I can get information for specific days of a week. I know if I have a date field I can use the formula day({datefield}) to return if it is a Monday, Tuesday and etc.
I need to run a report on Mondays that will give me total sales for each Monday within the last month. Same report needs to be ran on Tues and so on. I was going to put in the date range and in select expert have a perimeter where I could say the day I need is Monday, Tuesday and etc.
My problem is the field is not truely a date field, therefore I cannot use the day({datefield}) formula.
If I create a formula indicating the first four digits would be year, next two month and last two date and put concenate that together as 12/31/2002 it still did not look at this as a date field. HELP!!!
I need to run a report on Mondays that will give me total sales for each Monday within the last month. Same report needs to be ran on Tues and so on. I was going to put in the date range and in select expert have a perimeter where I could say the day I need is Monday, Tuesday and etc.
My problem is the field is not truely a date field, therefore I cannot use the day({datefield}) formula.
If I create a formula indicating the first four digits would be year, next two month and last two date and put concenate that together as 12/31/2002 it still did not look at this as a date field. HELP!!!