Re: [android-developers] Calendar Day of Year issue

2011-05-12 Thread Justin Anderson
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 wrote: > Hi , > Try this : > > > Calendar rightNow = Calendar.*getInstance*(); > > *int* daycount = rightNow.get(Calendar.*DAY_OF_YEAR

Re: [android-developers] Calendar Day of Year issue

2011-05-09 Thread gaurav gupta
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 wrote: > Does the Day of Year work? All I'm trying to do is get the current > day count. For example, if

[android-developers] Calendar Day of Year issue

2011-05-08 Thread Tony Rudzki
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