Apologies... int year = new Date().getYear()
On Mar 19, 9:04 pm, tim <[email protected]> wrote: > Hi all, > > I would like to get the year of the current date, but this is not > working : > > int year = Calendar.getInstance().get(Calendar.YEAR); > > How to use date in gwt ? > > Thanks in advance for your answer -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en.
