L
Luke
I need to find a period based on submitted date. Here is
an example
Period Table
Period Start_Date End_Date
2 1.15.2004 1.31.2004
3 2.1.2004 2.14.2004
4 2.15.2004 2.29.2004
If the date is 1.22.2004, Period 2 should be selected, if
the date is 2.28.2004, period 4 should be selected, and
so on.
I would like to create a function that uses the date and
kicks out the period, something simple like DateToPeriod
(<EnterDate>)
Any help or resource to check is greatly appreciated.
Thank you.
Luke
an example
Period Table
Period Start_Date End_Date
2 1.15.2004 1.31.2004
3 2.1.2004 2.14.2004
4 2.15.2004 2.29.2004
If the date is 1.22.2004, Period 2 should be selected, if
the date is 2.28.2004, period 4 should be selected, and
so on.
I would like to create a function that uses the date and
kicks out the period, something simple like DateToPeriod
(<EnterDate>)
Any help or resource to check is greatly appreciated.
Thank you.
Luke