reference a period # and Write out month and last day of the month in full

Is  there syntax for being able to reference a cell with the period # and write out the full date.  Example

10 is in the period cell used for communications

but I want another cell to say 'as at October 31' where period 10 to Sage is October.