Article View: borland.public.jbuilder.java.language
Article #17978Thanks...
From: zav
Date: Thu, 27 Aug 1998 00:00
Date: Thu, 27 Aug 1998 00:00
19 lines
1165 bytes
1165 bytes
Thanks
Aaron Gaalswyk wrote:
> Chris Hill wrote in message <35dc4d53.313524544@forums.borland.com>...
> >Use the last parameter to determine thr portion of the StringBuffer
> >you are interested in.
>
> Or,
>
> SimpleDateFormat fmt = (SimpleDateFormat)DateFormat.getDateInstance();
> fmt.applyPattern("EEEE"); // "E" means day of week; see JDK docs
> String dayOfWeek = fmt.format(new Date());
>
> Though I suppose it's not strictly *guaranteed* that you can cast to
> SimpleDateFormat, the JDK docs say it usually works....
>
> Aaron Gaalswyk
>
Technical Details
Message-ID:
<35E583F7.B7D1D93F@gic-net.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35DBFD58.6BCC6EF3@gic-net.com> <35dc4d53.313524544@forums.borland.com> <6rj0m6$35h13@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,90391de4ef3c5f18 X-Google-Attributes: gidf74b3,public From: zav <zav@gic-net.com> Subject: Thanks... Date: 1998/08/27 Message-ID: <35E583F7.B7D1D93F@gic-net.com> X-Deja-AN: 385313559 Content-Transfer-Encoding: 7bit References: <35DBFD58.6BCC6EF3@gic-net.com> <35dc4d53.313524544@forums.borland.com> <6rj0m6$35h13@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language