🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9355

Re: Operaciones con fechas en Perl

#9355
From: Angel Luis Jiménez Martínez
Date: Wed, 31 Jul 2002 22:54
19 lines
1798 bytes
"Gerard Farr�s Ballabriga" <gerard.farras@campus.uab.es> wrote:
> Hola Compa�eros!

>  Como puedo calcular el tiempo de duraci�n de un proceso en Perl?
>  Me gustar�a decir algo como:

>    - El proceso ha durado 3 d�as 4 horas 2 minutos y 1 segundo.

>  Como se trabajan fechas y horas en Perl?

>  Gracias a todos y un saludo!

>    Gerard

time, gmtime, localtime. Miralas en man perlfunc o buscalas en www.perlmonks.org
como texto en el "search".

Por cierto ese search es muy util para cualquier duda que tengas. Seguro que los
monjes del Perl iluminan tu camino.
Technical Details
Message-ID: <ai9pqc$a03$1@marti.uji.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator2-SanJose!in.nntp.be!news.telia-iberia.com!news.rediris.es!news.uv.es!marti.uji.es!not-for-mail
References: <ai8gb6$3m8$1@reader2.wnet>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,c99ac5e99a887af7
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-07-31 16:08:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator2-SanJose!in.nntp.be!news.telia-iberia.com!news.rediris.es!news.uv.es!marti.uji.es!not-for-mail
From: Angel Luis Jiménez Martínez <al026635@alumail.uji.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Operaciones con fechas en Perl
Date: Wed, 31 Jul 2002 22:54:04 +0000 (UTC)
Organization: Universitat Jaume I
Lines: 20
Sender: Angel Luis Jiménez Martínez <al026635@anubis.uji.es>
Message-ID: <ai9pqc$a03$1@marti.uji.es>
References: <ai8gb6$3m8$1@reader2.wnet>
NNTP-Posting-Host: anubis.uji.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 8bit
X-Trace: marti.uji.es 1028156044 10243 150.128.40.100 (31 Jul 2002 22:54:04 GMT)
X-Complaints-To: news@mati.uji.es
NNTP-Posting-Date: Wed, 31 Jul 2002 22:54:04 +0000 (UTC)
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (AIX/4-3)