<div dir="ltr">Hi,<div><br></div><div>From UI there is no option to create a field of type date-time, where as you can achieve this through external script by creating field of uitype 70 (date-time) refer vtiger_field table for info.</div><div><br></div><div>While importing data, map your date-time value field to this custom field created to solve the issue.</div><div><br></div><div>Hope so this tip might help to resolve your issue.</div><div><br></div><div>With</div><div>Regards</div><div>Uma S</div><div>Vtiger Team</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 6, 2015 at 7:42 PM, socialboostdk <span dir="ltr"><<a href="mailto:socialboostdk@gmail.com" target="_blank">socialboostdk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Uma,<div><br></div><div>Thanks for your quick reply.</div><div><br></div><div>I perhaps do not 100% understand the answer :-)</div><div><br></div><div>I'm actually on viger 6.0, but assume this part is the same as 6.1.</div><div><br></div><div>If I have the string "14-11-2014 12:00:20" as an example, then this is 100% identical with the default "Created Time"-format. </div><div><br></div><div>But does this format (date+time) not exist as UI in Vtiger? Only date alone or time alone?</div><div><br></div><div>I'm trying to import some CSV data from other system, and here they are stored as date-time, so its giving me problems. I could of course just import them as text, but then I can't really use them for anything.</div><div><br></div><div>Is there any way round it? I suppose that one way of solving it would be to make it into two fields, ie. date and time, but that would require some additional scripting on my side (as there are several thousands of lines in the CSV).</div><div><br></div><div>Thanks for all your input!</div><div><br></div><div>best,</div><div>Chris</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 6 January 2015 at 08:31, Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>Now in vtiger 6.1.0 through edit fields you can create custom date field but not date-time. We tried to reproduce this case by creating custom date field and filling date-time value from csv file which failed. As type of field and value that's getting filled is not matching.</div><div><br></div><div>Filling date value through csv file for custom date field works fine.</div><div><br></div><div>Are you creating date-time field from external script and trying to fill value? or for date field you are trying to fill date-time value?</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Jan 5, 2015 at 8:36 PM, socialboostdk <span dir="ltr"><<a href="mailto:socialboostdk@gmail.com" target="_blank">socialboostdk@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr">Hi there,<div><br></div><div>I'm trying to import a (correctly formatted) CSV, but it messes up the dates. Ie i've added custom field w. date, and i am trying to import the string: "11-09-2014 09:20:22" - but it wont work?</div><div><br></div><div>How can I import a field w. date + time?</div><div><br></div><div>thanks :)</div></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>