/nasmail/functions/date.phpdate.php
Takes a date and parses it into a usable format. The form that a date SHOULD arrive in is: <Tue,> 29 Jun 1999 09:52:11 -0500 (EDT) (as specified in RFC 822) -- 'Tue' is optional
This script contains modifications ported from SquirrelMail 1.4.9+. See commits tagged with SM-PATCH keyword. Modifications are copyrighted by the SquirrelMail Project Team. Copyright (c) 2007 The SquirrelMail Project Team
Date functions are always executed in nasmail gettext domain.
date_intl (line 294)
Returns the localized representation of the date/time.
getDateString (line 347)
Smart date function
Returns a short representation of the date, taking timezones and localization into account. Depending on user's settings, this string can be of the form: "14:23" or "Jun 14, 2003" depending on whether the stamp is "today" or not.
getDayAbrv (line 154)
Like getDayName, but returns the short form
getDayName (line 119)
Returns the (localized) string for a given day number.
Switch system has been intentionaly chosen for the internationalization of month and day names. The reason is to make sure that _("") strings will go into the main po.
getGMTSeconds (line 35)
Corrects a time stamp to be the local time.
getLongDateString (line 317)
This returns a date of the format "Wed, Oct 29, 2003 9:52 am", or the same in 24H format (depending on the user's settings), and taking localization into accout.
getMonthAbrv (line 242)
Returns the (localized) string for a given month number, short representation.
getMonthName (line 191)
Returns the (localized) string for a given month number.
getTimeStamp (line 405)
Decodes a RFC 822 Date-header into a timestamp
Documentation generated on Sun, 22 Nov 2009 17:36:25 +0200 by phpDocumentor 1.4.3