[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] newbie alert :-) question on the date thing...



Thanks for the pointers people... writing my own function was a good
learning excercise (too bad it's during a major project development ;-).

Looks like the Date::Format was pretty much what I was looking for.

>
>If I remember correctly, strftime in the POSIX module should do what you want.
>
>>  ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$daylight) = localtime($time);
>>  my %parse=();
>>  $parse{"y"}=$year;
>>  if($year>67) {$parse{"Y"}="19$year"} else {$parse{"Y"}="20$year"};

I had a look at that... at first glance it didn't appear to be what I wanted.

- paul


-------------------Kudosnet Communication Services--------------------
webmaster@kudosnet.com                                www.kudosnet.com


         FileMaker Pro ISO magazine: http://www.iso-ezine.com/
           BC Renter's Guide: http://bc-renters-guide.bc.ca/

Looking for any easy to use, and very functional web forum?
http://kudosnet.com/forum/about.phtml
-------------879 View Rd. Qualicum Beach, Canada V9K 1N3--------------



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch