🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #1072

Ri-aiuto x giorno settimana

#1072
From: Joe
Date: Sun, 21 Nov 2004 14:52
16 lines
1648 bytes
Ciao,
giorni fa ho posto un quesito a cui mi � stato gentilmente e prontamente 
risposto. Ho chiesto come si poteva fare per visualizzare il giorno corrente 
della settimana (ad esempio Sabato o Marted�) nella Caption di una Label.
Mi � stato risposto:
Senza la prima lettera maiuscola:
Dim myDate As Date
label.caption = format(weekday(myDate),"dddd",vbMonday)
Con la prima lettera maiuscola:
Dim myDate As Date
label.caption =
strconv(format(weekday(myDate),"dddd",vbMonday),vbProperCase)
ma, cosa strana, questo codice, sia assegnato al load di una Form che al 
click di un Button, mi riporta sempre Sabato o sabato.
Qualcuno mi spiega l'arcano e mi "raddrizza" per proseguire?
Grazie. 
Technical Details
Message-ID: <6Z1od.44830$Es2.970932@twister2.libero.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,b72ce4400f81f9f9,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "Joe" <riggia@libero.it>
Newsgroups: free.it.visual-basic
Subject: Ri-aiuto x giorno settimana
Lines: 18
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; Original
Message-ID: <6Z1od.44830$Es2.970932@twister2.libero.it>
Date: Sun, 21 Nov 2004 14:52:50 GMT
NNTP-Posting-Host: 151.26.22.221
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1101048770 151.26.22.221 (Sun, 21 Nov 2004 15:52:50 MET)
NNTP-Posting-Date: Sun, 21 Nov 2004 15:52:50 MET
Organization: [Infostrada]