Webfocus - HGETC vs. hard-coded date

131 Views Asked by At

I have this line of code:

TDY_DATE/HMDYYs = HGETC(8,'HMDYYs');

Its used to generate a report based on today's date.

How can I revise this line so I can hard-code a date other than today?

Thanks.

1

There are 1 best solutions below

0
satish chennupati On

simply use a FPRINT to assign hardcoded date to your variable

-SET TDY_DATE = FPRINT(HARDCODED_DATE, 'HMDYYs', 'A8');