symfony setting the timestamp in a class and controller code example Example: date type form symfony 4 date type form symfony 4