DATETIME

Honza Pazdziora adelton na informatics.muni.cz
Čtvrtek Duben 11 14:44:39 MEST 2002


On Thu, Apr 11, 2002 at 02:38:42PM +0200, AKlimek na ebanka.cz wrote:
> 
> panove mohly by jste mi jeste ukazat jak tam misto localtime dat cas, ktery
> mam v nejake promene.

Cituji dokumentaci perlfunc (mate to budto jako man stranky, nebo jako
HTML, nebo na webu):

     localtime EXPR
	     Converts a time as returned by the time function to
		[...]
             If EXPR is omitted, uses the current time
             (localtime(time)).

a

     time    Returns the number of non-leap seconds since
             whatever time the system considers to be the epoch
             (that's 00:00:00, January 1, 1904 for MacOS, and
             00:00:00 UTC, January 1, 1970 for most other
             systems).  Suitable for feeding to gmtime() and
             localtime().

Cili mate-li ty sekundy jako cislo, dejte to cislo jako parametr
volani localtime.

-- 
------------------------------------------------------------------------
 Honza Pazdziora | adelton na fi.muni.cz | http://www.fi.muni.cz/~adelton/
      ... all of these signs saying sorry but we're closed ...
------------------------------------------------------------------------


Další informace o konferenci Perl