Check out the manual on the date function. It allows you to get names from dates. The PEAR date stuff will allow you to do date math.
> -----Original Message----- > From: Rajesh [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 12, 2004 10:04 PM > To: [EMAIL PROTECTED] > Subject: [PHP] MS Outlook 2003 Mail listing > > Hai all > > i just saw MS Outlook 2003 > > in this applicatioin the mail are sorted in date and given names like > Today > Yesterday > Last Week > Two Weeks Ago ... > > Can anybody give me algorithm to get date in this string version . > > Thank you, > Rajesh > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php