Re: getting $date



Josef Moellers <josef.moellers@xxxxxxxxxxxxxxxxxxx> wrote:

> spam wrote:
> > Graham Gough <graham@xxxxxxxxxxxx> wrote:
> >
> >
> >>perldoc -f localtime
> >
> >
> > That probably is what I'm looking for, but the perldoc page isn't (to
> > me, a newbie) very clear ..
> >
> > Converts a time as returned by the time function to a 9-element
> > list with the time analyzed for the local time zone.
> > Typically
> > used as follows:
> >
> > # 0 1 2 3 4 5 6 7 8
> > ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)
> > = localtime(time);
> >
> > OK, so in my code, I put ...
> >
> > my $date = localtime ($day, $mday, $year) ;
> >
> > No surprises: it doesn't work.
> >
> > All other combinations (locatime inside brackets, outside brackets, with
> > curly brackets, with $ in front, after, in the middle ..) don't work.
>
> You need to master elemntary perl first, before trying such am ambitous
> project B-{)

Oh, I agree. :-(



--
spam
.



Relevant Pages

  • Re: getting $date
    ... That probably is what I'm looking for, but the perldoc page isn't (to ... a newbie) very clear .. ... Converts a time as returned by the time function to a 9-element ... All other combinations (locatime inside brackets, outside brackets, with ...
    (comp.lang.perl.misc)
  • Re: using Exchange as IMAP client
    ... newbie. ... accounts, on my own boxes, don't have to waste any resources dealing with ... I never have to hit the hotmail servers as I've got my server pulling ... spam as you please. ...
    (comp.mail.imap)
  • Re: How do I block Spam by domain only?
    ... How do I get Outlook to block all spam from this domain name ... in the From header because it is completely unrelated to the commands ... Blocking on what the spammer purports is their e-mail address (or ...
    (microsoft.public.outlook.general)
  • Re: [Full-disclosure] FIXED CODE - IIS 6 Remote Buffer Overflow Exploit(was broken)
    ... it's "Smashing the Stick" you ... you are such a newbie. ... >> Do You Yahoo!? ... Mail has the best spam ...
    (Full-Disclosure)
  • How to type those caracters on a mac keyboard ?
    ... I need to type the accolades, and the brackets, to write C code. ... Copy-paste ... "From the age of Big Brother, from the age of the thought police, from a ... Veuiller retirer NO SPAM HERE de mon adresse. ...
    (comp.os.linux.powerpc)