Hi ,
Try this :

Calendar rightNow = Calendar.*getInstance*();

*int* daycount = rightNow.get(Calendar.*DAY_OF_YEAR*);


i hope it will work :)


On Sat, May 7, 2011 at 8:06 AM, Tony Rudzki <[email protected]> wrote:

> Does the Day of Year work?  All I'm trying to do is get the current
> day count.  For example, if it was Jan 3rd, the day count would be 3.
> If it were Feb 2nd the day count would be 33.
>
>  Calendar rightNow = Calendar.getInstance();
>  int daycount = rightNow.get(DAY_OF_YEAR);
>
> This doesn't seem to work.   Any help would really be appreciated.
>
>
> TonyR
>
> --
> 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

-- 
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