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 The Software Craftsman this week in the Agile 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: 41616
    
  31
Presumably with its getDate method, pass that to a Calendar object with its setTime method, then use the get method from the Calendar.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: [question]how to "extract" day,month,year,min,second from selected SpinnerDateModel