• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
L Willie
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator




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

Willie
 
Campbell Ritchie
Sheriff
Pie
Posts: 49379
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Presumably with its getDate method, pass that to a Calendar object with its setTime method, then use the get method from the Calendar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic