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
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
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
3 matches
Mail list logo