T E Schmitz wrote:
[EMAIL PROTECTED] wrote:
I tried :
l = new java.lang.Long (millis);
d = new java.util.Date(l);
This also results in a IllegalArgumentException when creating the Date.
What an idiot! It's got to be
d = new java.util.Date(l.longValue());
--
Regards/Gruß,
Tarlika Elisabe
[EMAIL PROTECTED] wrote:
I tried to write a second script but am getting an
IllegalArgumentException on "new Date(millis)":
Project: public String getProperty(String propertyName)
You have to convert the String into a long.
I tried :
l = new java.lang.Long (millis);
>
>
>
>
>
>
>I also need the date in a human readable format.
>
>I tried to write a second script but am getting an
>IllegalArgumentException on "new Date(millis)":
>
>
>
>
>
>
>
>
Project: public String getProperty(String propertyName)
You have to convert