Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #10153
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!fdn.fr!feeder.news.orange.fr!not-for-mail |
|---|---|
| Date | Mon, 21 Nov 2011 18:40:43 +0100 |
| From | jlp <jlp@jlp.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Easiest/shortest way to get day of week (e.g. MON) from "dd.mm.yyyy" string? |
| References | <4eca833c$0$6571$9b4e6d93@newsspool3.arcor-online.net> |
| In-Reply-To | <4eca833c$0$6571$9b4e6d93@newsspool3.arcor-online.net> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Lines | 14 |
| Message-ID | <4eca8d1a$0$2507$ba4acef3@reader.news.orange.fr> (permalink) |
| Organization | les newsgroups par Orange |
| NNTP-Posting-Date | 21 Nov 2011 18:40:42 CET |
| NNTP-Posting-Host | 86.217.164.97 |
| X-Trace | 1321897242 reader.news.orange.fr 2507 86.217.164.97:13713 |
| X-Complaints-To | abuse@orange.fr |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10153 |
Show key headers only | View raw
Le 21/11/2011 17:58, Sven Fischer a écrit : > Assume I have a date as a string with the pattern "dd.mm.yyyy". > > What is the easiest/shortest way to get the day of week (e.g. "MON" for Monday) > from this date? > > Sven > create a Calendar object with the date and Calendar.get( DAY_OF_WEEK) return 0 for SUNDAY, 1 for MONDAY ... -- Cordialement Jean-Louis Pasturel
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Easiest/shortest way to get day of week (e.g. MON) from "dd.mm.yyyy" string? Svenfischer2@email.com (Sven Fischer) - 2011-11-21 16:58 +0000
Re: Easiest/shortest way to get day of week (e.g. MON) from "dd.mm.yyyy" string? jlp <jlp@jlp.com> - 2011-11-21 18:40 +0100
Re: Easiest/shortest way to get day of week (e.g. MON) from "dd.mm.yyyy" string? jlp <jlp@jlp.com> - 2011-11-21 18:45 +0100
Re: Easiest/shortest way to get day of week (e.g. MON) from "dd.mm.yyyy" string? Lew <lewbloch@gmail.com> - 2011-11-21 14:12 -0800
Re: Easiest/shortest way to get day of week (e.g. MON) from "dd.mm.yyyy" string? Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-11-21 17:41 +0000
Re: Easiest/shortest way to get day of week (e.g. MON) from "dd.mm.yyyy" string? Mayeul <mayeul.marguet@free.fr> - 2011-11-21 19:17 +0100
Re: Easiest/shortest way to get day of week (e.g. MON) from "dd.mm.yyyy" string? Roedy Green <see_website@mindprod.com.invalid> - 2011-11-21 10:25 -0800
csiph-web