DateField df = new DateField(); df.Format = "yyyy-MM-dd HH:mm:ss";格式必须写成这样才能识别,如果写成Y-m-d H:i:s,系统将无法赋值。