Garethp / php-ews

PHP Exchange Web Services
BSD 3-Clause "New" or "Revised" License
112 stars 45 forks source link

getDatetime does not return \Datetime for MessageType instance #229

Open boindil opened 2 years ago

boindil commented 2 years ago

I thought, that - according to https://github.com/Garethp/php-ews/blob/master/src/API/Type/ItemType.php - I would get a Datettime object by calling getDatetime(), but instead I am getting a string.

I am calling the function on an instance of MessageType.