• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
arien beck
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21131
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start by looking at java.util.Calendar.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!