Lotus Notes — рабочий инструмент программиста.

Обсуждения программирования на Lotus Notes/Domino

returns a date the document/email should be considered created

leave a comment »

Public Function GetEmailCreatedDate(doc As NotesDocument) As String
‘ returns a date the document/email should be considered created
‘ written by Mike Mortin 20080625
If doc.DeliveredDate(0) <> "" Then
GetEmailCreatedDate = doc.DeliveredDate(0)
Elseif doc.PostedDate(0) <> "" Then
GetEmailCreatedDate = doc.PostedDate(0)
Else
GetEmailCreatedDate = doc.Created
End If
End Function

Original source : http://www.openntf.org/projects/codebin/codebin.ns…

Написано lotusnotes

Октябрь 27, 2008 в 10:01

Опубликовано в Lotus Notes

Ответить

Для отправки комментария вы должны авторизоваться.