IPWorks OpenPGP 2020 JavaScript Edition

Questions / Feedback?

LocalizeDate Method

Converts a valid RFC 822 message date to local date and time.

Syntax

async pimap.localizeDate(dateTime : string): Promise<string>

Remarks

This method can be used to convert an RFC 822 date/time string to the corresponding local date and time.

Dates will be returned in the format: "MM/dd/yyyy hh:mm:ss".

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 JavaScript Edition - Version 20.0 [Build 8262]