🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #240

Re: Tablica z localtime

#240
From: Piotr Piatkowski
Date: Sat, 10 May 1997 14:00
13 lines
1106 bytes
Mariusz Jasinski <jasinski@ci-1.ci.pwr.wroc.pl> wrote:
: Jak dostać się do elementu takiej tablicy:
: ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
:         localtime(time);

Nie bardzo rozumiem... Jeżeli chcesz mieć wszystkie elementy - to 
dokładnie tak jak powyżej. Jeżeli chcesz któryś konkretny element - 
np. ilość minut, to:

$min = (localtime(time))[1];

-- 
Piotr Piątkowski, Uczelniane Centrum Informatyki, AGH Krakow, POLAND
Technical Details
Message-ID: <5l1v22$p5q$1@galaxy.uci.agh.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!agh.edu.pl!agh.edu.pl!not-for-mail
References: <33747CD1.27DC@ci-1.ci.pwr.wroc.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!ict.pwr.wroc.pl!agh.edu.pl!agh.edu.pl!not-for-mail
From: kompas@galaxy.uci.agh.edu.pl (Piotr Piatkowski)
Newsgroups: pl.comp.lang.perl
Subject: Re: Tablica z localtime
Date: 10 May 1997 16:00:34 +0200
Organization: University of Mining & Metallurgy
Lines: 13
Message-ID: <5l1v22$p5q$1@galaxy.uci.agh.edu.pl>
References: <33747CD1.27DC@ci-1.ci.pwr.wroc.pl>
NNTP-Posting-Host: galaxy.uci.agh.edu.pl
Mime-Version: 1.0
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970307; sun4m SunOS 5.5.1]
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit