aspose file tools
The moose likes JDBC and the fly likes How to get day, month, and year seperate from date Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "How to get day, month, and year seperate from date" Watch "How to get day, month, and year seperate from date" New topic
Author

How to get day, month, and year seperate from date

Kay Tracid
Ranch Hand

Joined: Mar 06, 2002
Posts: 148
Hi,
I want to get day, month and year from the Date object. How can I do this?
Thanks a lot!
prabhat kumar
Ranch Hand

Joined: Apr 11, 2001
Posts: 114
use
Calendar.get(Calendar.DAY_OF_MONTH).
and so on
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get day, month, and year seperate from date
 
Similar Threads
Retrive Month and Year
Date problem
how to generate sql date
Retrieve value from a DateField
scalar functions