Java: How to get the first day of the current week and month?

Posted by cesarlinux on Stack Overflow See other posts from Stack Overflow or by cesarlinux
Published on 2010-05-30T00:27:11Z Indexed on 2010/05/30 0:32 UTC
Read the original article Hit count: 456

Filed under:
|

Hello,

I have the date of several events expressed in milliseconds*, and I want to know which events are inside the current week and the current month, but I can't realize how to obtain the first day (day/month/year) of the running week and convert it to milliseconds, the same for the first day of the month.

*Since January 1, 1970, 00:00:00 GMT

Thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about date