On May 18, 6:11 pm, daehoon <[email protected]> wrote:
> Hi~~ everyone.
> 1.
> how to get it's week when we know a date, not current date.
> if I input 5-22, return Friday.

Use the java.util.Date class to get the day of the week for any date

> 2.
> If I input 2 dates, 5-19 & 6-20, how to know  how many days between
> them

Convert them to Julian dates, and subtract...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to