home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!cs.utexas.edu!convex!convex!tchrist
- From: Tom Christiansen <tchrist@convex.COM>
- Subject: Re: Converting ctime format into an integer ??
- Originator: tchrist@pixel.convex.com
- Sender: usenet@news.eng.convex.com (news access account)
- Message-ID: <1993Jan4.233738.24706@news.eng.convex.com>
- Date: Mon, 4 Jan 1993 23:37:38 GMT
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- References: <6649@pdxgate.UUCP>
- Nntp-Posting-Host: pixel.convex.com
- Organization: Convex Computer Corporation, Colorado Springs, CO
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 24
-
- From the keyboard of mikewe@rigel.cs.pdx.edu (Michael C welsh):
- :I am trying to convert the actual ctime format:
- :
- : Sun Jan 3 14:17:18 PST 1993
- :
- :into an integer for comparison.....
- :
- :Does anyone know if there is anything laying around..or a really
- :good and (gulp) easy way to do this ?????
-
- Routines don't lay -- only people and chickens do. Routines lie.
- I guess if they had a promiscuous mode it might make a difference.
-
- Anyway, FAQ 2.24 addresses this question. You can get it from
- convex.com in /pub/perl/info/faq if it's not on your system,
- and yes, I'll be putting out an update this week.
-
- --tom
-
- --
- Tom Christiansen tchrist@convex.com convex!tchrist
-
- pos += screamnext[pos] /* does this goof up anywhere? */
- --Larry Wall in util.c from the perl source code
-