PWA: i want to set the starting date in gantte at today.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top