Question on TM1 rule function TODAY()
Posted: Tue Jul 27, 2010 9:46 am
Hi all,
I'm planning to use the rule function TODAY() to obtain the current date, then use SUBST to extract YY-MM base on the 1st 5 characters in the returned date.
Is TODAY function dynamic such that the rule is always evaluating the current date? So I will see another YY-MM-DD tomorrow as compared to what I have seen today? Or is it base on the date that the rules are loaded into memory. If the latter is true, this will mean that TODAY is evaluated once only during rule loading, and then this same value is used until the rules are next compiled again.
I tried this before and I vaguely remember that it is static until the next rule compilation. Any ideas? Many thanks!
I'm planning to use the rule function TODAY() to obtain the current date, then use SUBST to extract YY-MM base on the 1st 5 characters in the returned date.
Is TODAY function dynamic such that the rule is always evaluating the current date? So I will see another YY-MM-DD tomorrow as compared to what I have seen today? Or is it base on the date that the rules are loaded into memory. If the latter is true, this will mean that TODAY is evaluated once only during rule loading, and then this same value is used until the rules are next compiled again.
I tried this before and I vaguely remember that it is static until the next rule compilation. Any ideas? Many thanks!