Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Date

by CiceroLove (Monk)
on Mar 12, 2001 at 00:01 UTC ( #63651=note: print w/replies, xml ) Need Help??


in reply to How to find yesterdays date (was: Date)

You really should learn how to use modules. They will save you countless hours contemplating suicide.
Having said that, you need to look at using
$date = scalar localtime(time);

See what this prints out for you and then go from there. You will have to do things like splitting but without modules, I can't think of another way off the top of my head.

CiceroLove
Fates! We will know your pleasures: That we shall die, we know; 'Tis but the time, and drawing days out, that men stand upon. - Act III,I, Julius Caesar

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://63651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2021-06-22 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (108 votes). Check out past polls.

    Notices?