In order to read creation date of a definite message stored in the Messageboard database, the created element value from the XML should be used rather than the createddt value.
It has the following format:
created 7/1/2003 1:18:28 PM
It's much more convenient for the futher date formatting since the created
dt value does not contain any “pm” or “am” definitions.
Then you can apply suggested code snippet in order to change the date format:
string formatedData = dt.ToString("M/d/yyyy H:mm");