Just a few observations, Chirayu:

(1) The answer to your question is easily found from a quick review of
the documentation:

http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/datepicker/client/DateBox.html

(2) If this was your first posting to this forum, it did not appear
immediately, but had to be routed through a moderator (I can't say for
sure if that was the case).  If that's what happened, then nobody had
an opportunity to see your posting until it was approved.

(3) Seriously, you're getting pissy because you didn't get a response
in 2.5 hours?  Just a bit unreasonable, don't you think?


On Jul 14, 10:52 am, Chirayu Diwan <[email protected]> wrote:
> Got the answer...sadly not from here - 'the dedicated community', but
> from 'stackoverflow' because perhaps they didn't find my question that
> dumb.
> Solution : need to get the date object using datebox.getValue(), and
> then use on it getDate(), getMonth() and getYear() methods which we
> get from java.util.date package.
>
> Thanks anyways. Hope this helps in future some newbie like Me.
>
> Regards,
> Chirayu
>
> On Jul 14, 11:17 am, Chirayu Diwan <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I'm a newbie so please help me in this. I have a datebox with a
> > default date format and its working and displaying selected date in
> > the box as expected.
>
> > Now, I need to get individual values from whats being displayed/
> > selected, i.e., month, date, year. I need them to be used to query
> > something in database.
>
> > Example : Displayed as July 14th, 2010. I require after displaying it
> > in box, the numeric values as 7(for month), 14(for date), 2010(for the
> > year).
>
> > Plese help, I'll be really thankful.
>
> > - Chirayu Diwan

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

Reply via email to