In what way does it not work?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, May 9, 2011 at 2:57 AM, gaurav gupta <gaurav.gupta...@gmail.com>wrote:

> 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 <tony.rud...@gmail.com> 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 android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to