[updated] Made date/time more defensive in model class