System Date

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
gherta
New User
Posts: 7
Joined: Tue Jul 27, 2010 5:26 pm
First Name: Gary
Last Name: Herta
Company Name: APHA
Contact:

System Date

Post 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.
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: System Date

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest