How to feed system time?
Posted: Thu Apr 28, 2011 3:04 am
Hi Everyone!
Guys,
This is my first time to use rules in getting the system time. Here's my code:
Thanks for the help.
Bunch

Guys,
This is my first time to use rules in getting the system time. Here's my code:
My problem is whenever I toggle the icon to suppress zeroes. It prompts No Values. Of course these cells should be fed. But I really don't have an idea.skipcheck;
feedstrings;
['current date','system']=S:timst(now,'\m/\d/\Y');
['current month','system']=S:timst(now,'\M\Y');
['current quarter','system']=S:str(numbr(timst(now,'\Y'))+attrn('report month',timst(now,'\m'),'fiscal year'),4,0)|attrs('report month',timst(now,'\m'),'quarter');
['current mtd','system']=S:timst(now,'\m/\d/\Y')|' MTD';
['current ytd','system']=S:timst(now,'\m/\d/\Y')|' YTD';
['current fiscal year','system']=S:'FY '|str(numbr(timst(now,'\Y'))+attrn('report month',timst(now,'\m'),'fiscal year'),4,0);
feeders;
Thanks for the help.
Bunch

