ImapUtilsGetImapDateTimeString Method
Returns the string containing the current date and time of the local computer in the IMAP4 format.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public static string GetImapDateTimeString()

Return Value

Type: String
The current date and time of the local computer as string in "dd-MMM-yyyy HH:mm:ss +/-HHmm" format.
Examples
This sample prints the current datetime of the local computer as IMAP4-formatted string.
using System;

class Sample
{
    static void Main(string[] args)
    {
        Console.WriteLine(MailBee.ImapMail.ImapUtils.GetImapDateTimeString());
    }
}
See Also