aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes [question]how to Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "[question]how to "extract" day,month,year,min,second from selected SpinnerDateModel" Watch "[question]how to "extract" day,month,year,min,second from selected SpinnerDateModel" New topic
Author

[question]how to "extract" day,month,year,min,second from selected SpinnerDateModel

L Willie
Ranch Hand

Joined: Aug 10, 2008
Posts: 51




i require extract day, month, year, minute,second to do some calculation
Sincerely

Willie
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
Presumably with its getDate method, pass that to a Calendar object with its setTime method, then use the get method from the Calendar.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [question]how to "extract" day,month,year,min,second from selected SpinnerDateModel
 
Similar Threads
ActonListener
Frame SIze
JSpinner DateModel : Set a date
How to add new tabs from JMenu
How to insert date values to database using java swings