ProjectCreate problem

P

Pasi

I'm trying to use PDS interface to create projects into
Microsoft Project 2003 database, see XML string given
below.

PDS returns that dateformat is invalid
(rsPDSDateStringInvalid = 504)

<Request>
<ProjectCreate>
<AutoPublish>1</AutoPublish>
<Project>
<ProjectName>Project 1</ProjectName>
<StartDate>20040616080000</StartDate>
</Project>
</ProjectCreate>
</Request>

MSDN says that StartDate value may range from 1/1/1984 to
12/31/2049 (inclusive). If a date is passed in outside
this range, the PDS returns an invalid date STATUS code
(504). Dates can be entered as YYYYMMDD or YYYYMMDDHHMMSS.
If the hours, minutes, and seconds are included, they
should be set to the exact day (for example,
20031021000000).

Any dateformat I try to use is invalid ..... can anyone
give me some solution ?

Pasi :)
 

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