How to add a datetime object as custom property to a blender object
import bpy

from datetime import datetime
obj = bpy.context.active_object
obj['somedate'] = str(datetime.strptime('1900-01-01', '%Y-%m-%d'))