<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > suppose the date is 12-10-01 > -------------------------------------- > $timestamp = time(); > > //this is the "sent on" date > $yd_expl = explode(':',08-01-01);
Uh, better make that ... = explode('-', '08-01-01'); Otherwise I think you'll get { 6 } instead of { 8, 1, 1 } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]