Thanks Leonard.  The format in the code is only one of the things I've tried.  The PDF reference defines the date format as D:YYYYMMDDHHmmSSOHH'mm'.  For example,
D:200311011952−08'00'.
 
I have tried using the PdfDate class which uses the Gregorian calendar, ie.,
meta.put(new String("CreationDate"),(new PdfDate).toString());
which produces the date value as per the standard above.  It did not work (the CreationDate was not being set on the PDF).
 
Am I missing something ?  Please help.
 
Thanks.
 
- Venkat


Leonard Rosenthol <[EMAIL PROTECTED]> wrote:
At 2:58 PM -0800 10/31/03, Venkat Venkatesh wrote:
> meta.put(new String("CreationDate"),"2003-10-27T13:21:40-05:00");
> meta.put(new String("CreateDate"),"2003-10-27T13:21:40-05:00");

Neither of those are valid date strings for PDF. Consult the
PDF reference for the correct format for a date string...


Leonard
--
---------------------------------------------------------------------------
Leonard Rosenthol
Chief Technical Officer
PDF Sages, Inc. 215-629-3700 (voice)
215-629-0789 (fax)


Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

Reply via email to