[SOLVED]How to get today's date in different formats in header and footer
Iam trying to get the today's date in the header as May 20, 2016 @ 07:15 which is in EST time zone and today's date in the footer(get it displayed in the footer) as Fri May 20 07:15:16 EDT 2016 but Iam unable to get it using HGETC function or others too...
Could anyone please let me know how this can be achieved.
Thanks a lot in advance!
Regards, IPThis message has been edited. Last edited by: <Emily McAllister>,
May 20, 2016, 08:43 AM
Can you provide what you did already (code) ?
Have you defined two variables (one for Heading and one for Footing) with different format ?
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
May 20, 2016, 09:38 AM
Iam trying to use like this : -SET &HEADER_1 ='&DATEYYMD'; -SET &FOOTER_1 = '&DATEYYMD';
TABLE FILE CAR PRINT * HEADING &HEADER_1 FOOTING &FOOTER_1 END
but Iam not getting in the format as Iam expecting....
Please let me know how can this be achieved.
May 20, 2016, 09:49 AM
Where is the HGETC?
If you want to play with DATE variables, pick one of this: