Page 1 of 1

System Date

Posted: Thu Aug 19, 2010 11:08 am
by gherta
I'm having a problem retrieving the AS400 system date. My code is as follows:

TODAY = *date;

TODAY is defined on my ProfoundUI page as a bound field, data type DATE.
Not sure why, but every time the date is retrieved it displays 08/05/2010.

I've checked my system date on the AS400 and it is the correct date (08/19/2010), my pc date also has the correct date displayed.

Thanks.

Re: System Date

Posted: Fri Aug 20, 2010 10:05 am
by Alex
*DATE represents the job start date, not the current date. It looks like you are seeing the date of when the HTTP server started. Try %Date() instead. This should return the current system date.