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.
System Date
-
- New User
- Posts: 7
- Joined: Tue Jul 27, 2010 5:26 pm
- First Name: Gary
- Last Name: Herta
- Company Name: APHA
- Contact:
- 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
*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.
Who is online
Users browsing this forum: No registered users and 2 guests