on 05-16-2005 4:42 PM
Anyone have problems with the currentDate function? I'm seeing very odd times reported back for the function. They don't match the system date or SAP date etc.
So.. here's my questions:
1. Where does this function get it's "current" information for date and time?
2. Anyone had problems with this being accurate?
Also, this function seems to work perfectly for the date fields. It's just the time that's not working.
Hi TOM,
I have the same problem as you solved it?
thanks
umberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check your XI system TIME ZONE setting. Time displayed under System time and TimZone will be different.
Thanks,
Sasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What about creating a userdefined function like the following;
String pattern = "dMMyyyy"; // or how you want the date tranformed
SimpleDateFormat formatter = new SimpleDateFormat(pattern);
Date today = new Date(); //current system time
return = formatter.format(today);
Else see http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html
if you want an other pattern.
It should be possible to change the locale which also is desribed in the like above.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.