This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi! I have some questions about formatting in java... How do I format a social security number in java? How do I format time in the hh:mm:ss format? Thanks in advance!
Manfred Leonhardt
Ranch Hand
Joined: Jan 09, 2001
Posts: 1492
posted
0
Hi Kerri, I don't know about ss# but for date/time use the following: SimpleDateFormat sdf = new SimpleDateFormat( "hh:mm:ss" ); It can be found in java.text.* package. Regards, Manfred.
Paul Stevens
Ranch Hand
Joined: May 17, 2001
Posts: 2823
posted
0
Formatting SSN where? Where are you wanting to put it? Or are you talking about data entry on a screen?
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.