Article View: pl.comp.lang.vbasic
Article #92252Re: VB calendar - dzien tygodnia
From: Szczepan
Date: Thu, 20 Oct 2005 20:24
Date: Thu, 20 Oct 2005 20:24
21 lines
1676 bytes
1676 bytes
Użytkownik "Jarek Mielcarek" <kreskowy@brak.mi.go2.pl> napisał w wiadomości news:435785fc$2@news.vogel.pl... New napisał(a): > Witam > > Jak mozna z kontrolki calendar wyciagnac nazwe dnia tygodnia ? > A konkretnie chodzi mi o rozpoznanie dni roboczych od swiatecznych. > Z gory dzieki > > nazwe dnia wyciagniesz tak: MsgBox (Format(Calendar1.Value, "dddd", 1, 2)) a dni swiateczne? jak masz na mysli niedziele, to lepiej uzyc funkcji Weekday(date, [firstdayofweek]), ktora zwroci ci numer dnia w tygodniu (wiecej w msdn-ie). jaro a jesli chcesz zaznaczyc wielkanoc, boze cialo, boze narodzenie to wykorzystaj renderday lub jakos tak ;)
Technical Details
Message-ID:
<dj8ues$72g$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<dj7s7u$n42$1@news.onet.pl> <435785fc$2@news.vogel.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Szczepan" <szczepan@samba.pl> Newsgroups: pl.comp.lang.vbasic Subject: Re: VB calendar - dzien tygodnia Date: Thu, 20 Oct 2005 22:24:07 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 23 Message-ID: <dj8ues$72g$1@nemesis.news.tpi.pl> References: <dj7s7u$n42$1@news.onet.pl> <435785fc$2@news.vogel.pl> Reply-To: "Szczepan" <USUNszczepanUSUN@samba.pl> NNTP-Posting-Host: drh6.neoplus.adsl.tpnet.pl X-Trace: nemesis.news.tpi.pl 1129839900 7248 83.24.193.6 (20 Oct 2005 20:25:00 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Thu, 20 Oct 2005 20:25:00 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit