A
Arndt, Tobias
Hi NG,
trying to understand the ParseRecur function. Seems to be too complex
for me. My goal is to get the first Monday from each month of the year
2003. My code:
@date = ParseRecur("0:1*1:1:0:0:0","1/1/03","1/1/03","31/12/03");
print $date[3];
# that should print out the First Monday in April 2003
But I get 2003040700:00:00 !! That's the second Monday in this
month.... :-(
Maybe I didn't get the meaning of the three ($base etc..)variables
from the example;
# To find the 2nd tuesday of every month
# @date = ParseRecur("0:1*2:2:0:0:0",$base,$start,$stop);
Any help or hint would be greatly appreciated !
Thanks Tobias
trying to understand the ParseRecur function. Seems to be too complex
for me. My goal is to get the first Monday from each month of the year
2003. My code:
@date = ParseRecur("0:1*1:1:0:0:0","1/1/03","1/1/03","31/12/03");
print $date[3];
# that should print out the First Monday in April 2003
But I get 2003040700:00:00 !! That's the second Monday in this
month.... :-(
Maybe I didn't get the meaning of the three ($base etc..)variables
from the example;
# To find the 2nd tuesday of every month
# @date = ParseRecur("0:1*2:2:0:0:0",$base,$start,$stop);
Any help or hint would be greatly appreciated !
Thanks Tobias