How can i remove the time in ClientSubmitTime


#1

Hi,

           I want to remove the time in cliensubmittime using mapi message.

for example i used the code below:

Dim mapiMsg1 As MapiMessage = MapiMessage.FromMailMessage(aspfile)
mapiMsg1.SetMessageFlags(MapiMessageFlags.MSGFLAG_UNMODIFIED)
'Dim ms As MemoryStream = New MemoryStream()
Dim strCreatedDate As String = “”
strCreatedDate = String.Format("{0:dd/MMM/yyyy}", row(“Date Created”))
mapiMsg1.ClientSubmitTime = strCreatedDate
mapiMsg1.Save(aspfile)
now i only date not time in date format
but in show in output it show date and time.

Note:

I want only date.

#2

@senthilnathan,

Can you please share source file so that we may further investigate to help you out.


#3

hi,

       Thanks for reply i send source file

#4

@senthilnathan,

I have observed your comments and like to inform that this property is with type of date and time. So it can not remove only time.