Given a P6R::P6TIME, creates an RFC 822 compliant date string.
Here is an example of the RFC822 compliant date format that this method generates:
"Wed, 02 Oct 2002 13:51:49 GMT"
This method will always generates dates strings in GMT.
- Parameters
-
pTime | [ in ] A pointer to the P6TIME to convert into an RFC 822 date string. |
pBuffer | [ out ] A pointer to a P6R::P6CHAR buffer in which the converted date string will be placed on success. This buffer must be at least P6RFC822DATESZ characters long. |
cBuffer | [ in ] Contains the size in characters of pBuffer. |
pcWritten | [ out ] (optional) On success, the numeber of characters written into pBuffer will be returned. This arugument can be NULL. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pTime or pBuffer was NULL, or cBuffer was zero |
P6R::eNotInitialized | The initialize() method was not called successfully before calling this method. |
eTooSmall | pBuffer was less than P6RFC822DATESZ |