« Return to Thread: Date/ Time formatting in Swing

Re: Date/ Time formatting in Swing

by Bayless Kirtley :: Rate this Message:

Reply to Author | View in Thread

Check the Javadoc. Look at the various Calendar classes and the
SimpleDateFormat class.

Bayless

----- Original Message -----
From: "flintjk" <jonckelley@...>
To: <nbusers@...>
Sent: Thursday, July 02, 2009 10:45 PM
Subject: [nbusers] Date/ Time formatting in Swing


> Hi, I'm new to NetBeans working on an employee time management app. I can
> generate the Date/ Time in a clickable event but it looks like toString is
> the only format I can get the data in. I need to visually keep track of
> seconds and do some math on them. Is there a way to format Date/Time to
> have it display on the form as seconds?
>
>
>
> Thanks,
>
> ------------------------
> "The light that burns twice as bright burns half as long, and you Roy
> have burned so very brightly"
>
>
>
>

 « Return to Thread: Date/ Time formatting in Swing