aspose file tools
The moose likes Beginning Java and the fly likes to get the timestamp of the last day, week, month Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "to get the timestamp of the last day, week, month" Watch "to get the timestamp of the last day, week, month" New topic
Author

to get the timestamp of the last day, week, month

arien beck
Greenhorn

Joined: Sep 29, 2011
Posts: 2
Hi,
I want to perform search results according to dates.For that purpose i want to calculate
1)Timestamp of the last day.
2)Timestamp of First day of the last week.
3)Timestamp of First day of the last month.
4)Timestamp of First day of last three month etc.

Please help me out in this;
Thanks;
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Start by looking at java.util.Calendar.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: to get the timestamp of the last day, week, month
 
Similar Threads
First day of the first week of the month
the date of the last day of month
JSP calendar problem
how to count number of visitors
daysOfWeek function implementation