fix Date for MessageDao