Hi,
i'm getting problems while returning a ft_date as a custom column.
Interface says:
ft_date: FieldValue points to a structure containing year,month,day as 2 byte values.
so i assume that a struct like this one will do the job:
typedef struct maydate_t{
short year;
short month;
short day;
} maydate_t;
Now for testing purposes i created a struct and assigned it to FieldValue
maydate_t* date = new maydate_t();
date->day=4;
date->month=3;
date->year=2010;
FieldValue = date;
In tc i get weird values and not 2010-03-04 in the custom column.
Currently i have 2 custom column. The first one is a boolean which is working fine and the second one is supposed to be a date. In this case which value should be fiedUnit for my second custom column (which is now an empty string)?
char* fieldnames[fieldcount]={
"Encrypted","Expired Date"};
int fieldtypes[fieldcount]={
ft_boolean, ft_date};
char* fieldUnit[fieldcount]={
"Boolean", ""};
What am i missing?
Thanks in advance.
FSplugin and Custom Column ft_date
Moderators: Hacker, petermad, Stefan2, white
FSplugin and Custom Column ft_date
______________________
David Jorge
Personal License #117854
David Jorge
Personal License #117854