handling when created or modified are null in the database

if that happens they are set to now