Try this:
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time -86400); #86400 seconds in a day print join "-",(($mon + 1),$mday,($year + 1900)); BTW, that's an interesting quote. If you don't mind my asking, who is Lucio Anneo S�neca? -----Original Message----- From: Argenis Perez [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 11:35 AM To: [EMAIL PROTECTED] Subject: Dates this statement ($sec,$min,$hour,$mon,$year,$wday,$yday,$isdst) = localtime(); i obtain the date of today, but i need the $day,$mon,$year of yesterday How? Thank you Argenis Perez -- Nunca creas feliz a nadie que est� pendiente de la felicidad. Se apoya en una base fr�gil quien pone su alegr�a en lo adventicio. El goce que viene de afuera, afuera se ir�. Por el contrario, aquel que nace de uno mismo es fiel y firme, y crece, y nos acompa�a hasta el fin. - Lucio Anneo S�neca - Saludos Argenis Perez __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -------------------------------------------------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
