P
phoebe
so i try to use GanttStartDate property.
but i don't know what is 'number of milliseconds since 1/1/84'
i try to next code..but did't work..
now = new Date();
showday = new Date(now.getYear(),now.getMonth(),now.getDate());
dif = showday.getTime() - startday.getTime();
MSPJGrid.GanttStartDate = dif;
thank you for reading..
ps..my english is poor..
msdn:
GanttStartDate : The date required is a project date (number of milliseconds
since 1/1/84), which can be obtained by using the text converter object.
but i don't know what is 'number of milliseconds since 1/1/84'
i try to next code..but did't work..
now = new Date();
showday = new Date(now.getYear(),now.getMonth(),now.getDate());
dif = showday.getTime() - startday.getTime();
MSPJGrid.GanttStartDate = dif;
thank you for reading..
ps..my english is poor..
msdn:
GanttStartDate : The date required is a project date (number of milliseconds
since 1/1/84), which can be obtained by using the text converter object.