home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / perl / 5861 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  867 b 

  1. Path: sparky!uunet!cis.ohio-state.edu!rutgers!att-out!cbfsb!cbnewsg.cb.att.com!eabcu
  2. From: eabcu@cbnewsg.cb.att.com (brian.c.urch)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: bug in timelocal.pl?
  5. Message-ID: <1992Sep11.141311.4487@cbfsb.cb.att.com>
  6. Date: 11 Sep 92 14:13:11 GMT
  7. References: <920905184508.155@NIKE.CHEME.CMU.EDU>
  8. Sender: news@cbfsb.cb.att.com
  9. Distribution: usa
  10. Organization: AT&T Creative Software
  11. Lines: 15
  12.  
  13. In article <920905184508.155@NIKE.CHEME.CMU.EDU> TM1D@NIKE.CHEME.CMU.EDU writes:
  14. >I'm having a problem with &timelocal() in timelocal.pl...  It seems to loop
  15. >forever when called with &timelocal(0,0,0,5,8,1992).
  16. >
  17.  
  18. I had the same problem a while back.  If you call timelocal with 1's
  19. instead of 0's you shouldn't have any problems:
  20.  
  21.                     &timelocal(1, 1, 1, 5, 8, 1992);
  22.  
  23.  
  24. --
  25. Brian C. Urch
  26. AT&T Creative Software
  27. bcu@addams.att.com
  28.