🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #495

Re: Lamerski pytanie

#495
From: Wojtek Kaniewski
Date: Thu, 10 Apr 1997 11:06
20 lines
968 bytes

Michal <michotaz@cadvision.com> napisał(a):
> Moje pytanie jest jak z tego wyciągnąć dzień miesiąca?

<script>
var data=new Date();
var dzien=d.getDay();
with (document) {
  if (dzien==0) writeln('niedziela');
  if (dzien==1) writeln('poniedzialek');
  ...
}
</script>

nie powinno byc bledow :)

-- 
Wojtek Kaniewski
mailto:wojtekka@logonet.com.pl
Technical Details
Message-ID: <01bc459b$c4554020$LocalHost@wojtekka>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!uw.edu.pl!mat.uni.torun.pl!not-for-mail
References: <334c20ec.19724626@news.nask.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!uw.edu.pl!mat.uni.torun.pl!not-for-mail
From: "Wojtek Kaniewski" <wojtekka@logonet.com.pl>
Newsgroups: pl.comp.lang.java
Subject: Re: Lamerski pytanie
Date: 10 Apr 1997 11:06:11 GMT
Organization: Uniwersytet Mikolaja Kopernika
Lines: 20
Message-ID: <01bc459b$c4554020$LocalHost@wojtekka>
References: <334c20ec.19724626@news.nask.pl>
NNTP-Posting-Host: asy5.logonet.com.pl
Mime-Version: 1.0
X-Newsreader: Microsoft Internet News 4.70.1155
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit