Hi all.
Some help again would be greatly appreciated
I have a variable which is an array of dates.
The amount of data varies i.e. it may have four dates stored in the variable, it may have 20 dates stored in the variable.
So for example let's say i have these six values stored as an array within the variable DateVariable()
1/1/2008, 1/2/2008, 1/3/2008, 1/4/2008, 1/5/2008, 1/6/2008
Now ... I want to be able to search that DateVariable() array for a certain date, and have returned to me the place of that date with in the array if it exists there.
So for example, say i want to search for the date '1/5/2008' within the DataVariable() array.
The search should return, using the above example, "5"
So basically, how do i search for a date value within an array ... to find first if that value is present in the array, and if it is, what position is in within the array.
Does that make sense?
Thank you heaps for you time and help
Cheers
KJ
Some help again would be greatly appreciated
I have a variable which is an array of dates.
The amount of data varies i.e. it may have four dates stored in the variable, it may have 20 dates stored in the variable.
So for example let's say i have these six values stored as an array within the variable DateVariable()
1/1/2008, 1/2/2008, 1/3/2008, 1/4/2008, 1/5/2008, 1/6/2008
Now ... I want to be able to search that DateVariable() array for a certain date, and have returned to me the place of that date with in the array if it exists there.
So for example, say i want to search for the date '1/5/2008' within the DataVariable() array.
The search should return, using the above example, "5"
So basically, how do i search for a date value within an array ... to find first if that value is present in the array, and if it is, what position is in within the array.
Does that make sense?
Thank you heaps for you time and help
Cheers
KJ