Moodle reports & GUI will show the date and time adjusted to the Timezone setting you have in your profile (which may or may be the same as the site timezone settings.)
The database timestamps may very well be different, and are probably either UTC or server time. Try converting the times from the two sources to the same format and compare the difference to find the offset.