It seems simple thing but it's not happening... Basically I wanna import a text file (CSV) and the date field it comes with this format (mm/dd/yyyy h:mm) i.e. (4/7/2014 0:00). So, I've tried to use the datetime function but it returns with null! The code is something like this:
str strMyDate;
utcDateTime MyDate;
;
strMyDate = '10/17/2014 0:00';
MyDate = str2datetime(strMyDate,213);
info("MyDate"+datetime2str(MyDate));
Note that MyDate is coming null! Any idea on this? Thanks!
*This post is locked for comments