It is used for Inserting value in Database.DateTime PunchIn = (object)DBNull.Value;
Or simply omit the field, if the column expects null values no need to pass it
For inserting null values Use dbnull.value