How can i remove the time in ClientSubmitTime

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.

@senthilnathan,

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

hi,

       Thanks for reply i send source file

https://www.dropbox.com/s/eue6m2wcr3ieq8m/2019%2006%2019%20122154_sdddddddd.msg?dl=0

@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.