>Another point to be taken into account when using function GetMessage(ldDate) is that it returns messages from the previous day (that is, from ldDate-1).
GetMessage() returns the message for the date passed. I just retested it and this is what it does.