If the date is December 16,2008 I have to get the value as 350. please suggest on the same.
Thanks in advance…
If the date is December 16,2008 I have to get the value as 350. please suggest on the same.
Thanks in advance…
Subject: Date calculation
use this :
firstjan := @date(@year(@today);1;1);
NoOfDays := ((@Date(@Today)-firstjan)/86400)+1
Now NoOfDays variable contains the required result