A
Alextophi
hello,
I do not know how to make to extract each 1st (or 2,3..) Monday (or
Tuesday, Wednesday..)
from each month over one 2 months period (for example)
ex: I want to know the exact date from the every 1st Sunday of the
month.
*------------------------------------------------------------------------*
for ( $i = 0; $i <= 60; $i++ ) { # Buckle on 60 iterations (days),
@date = Add_Delta_Days(@today,$i); # Incrementing +1,
if (Day_of_Week(@date) == $searching_dow) { # if the day of
week is "scale at the recherch day",
printf("%4d/%02d/%02d\n", @date); # post the every day of
week (ex; every Sunday),
}
}
*------------------------------------------------------------------------*
- the problem is that I obtains every Sunday and not 1st Sunday
TANK'S
christophe(FR)
I do not know how to make to extract each 1st (or 2,3..) Monday (or
Tuesday, Wednesday..)
from each month over one 2 months period (for example)
ex: I want to know the exact date from the every 1st Sunday of the
month.
*------------------------------------------------------------------------*
for ( $i = 0; $i <= 60; $i++ ) { # Buckle on 60 iterations (days),
@date = Add_Delta_Days(@today,$i); # Incrementing +1,
if (Day_of_Week(@date) == $searching_dow) { # if the day of
week is "scale at the recherch day",
printf("%4d/%02d/%02d\n", @date); # post the every day of
week (ex; every Sunday),
}
}
*------------------------------------------------------------------------*
- the problem is that I obtains every Sunday and not 1st Sunday
TANK'S
christophe(FR)