[thelist] Date script (java)

italPASTA italPASTA at takas.lt
Tue May 25 09:07:12 CDT 2004


It really helped. Thanks a lot ;)

--
Regards,
italPASTA

> test for the length of the string: if it's less than 2, prepend a zero:
> 
> <code>
> if (nmonth.toString().length < 2) nmonth = "0" + nmonth.toString();
> </code>
> 
> should do the trick.



More information about the thelist mailing list