<div>Hello all!</div><div><br></div><div>I have created date field for my custom module like this</div><div>=====</div><div>$field5 = new Vtiger_Field();</div><div>$field5->name = 'startdate';</div><div>$field5->label = 'Start Date';</div>
<div>$field5->uitype = 5;</div><div>$field5->typeofdata = 'D~O';</div><div>$field5->displaytype = 1;</div><div>$block2->addField($field5);</div><div>=====</div><div>why is this field in vtiger_my_custom_module not created as date column but as Varchar? Am i doing something wrong or it is a bug in vtlib?</div>
<div><br></div><div>Thanks for your replies!</div>Darjan Prtic<br>