We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Field date format

Received : 2007/10/12 11:08:23
Message : We are in the process of verifying that Aspose automation produces equivalent results to Word automation. We have found that dates are not getting formatted correctly. We have tried using the FormField.SetTextInputValue method (passing both a DateTime object and a String) and we have tried using the FormField.Result = String.Format method. In either case, the field text format ‘MMDDYYYY’ produces a value similar to ‘10DDYYYY’ for the date ‘10/11/2007’. This is a show-stopper for us. Any help would be greatly appreciated.

This message was posted using Aspose.Live 2 Forum

Thanks for your request. It seems that it occurs because Aspose.Words uses standard .NET functions to format values. Also see the following link.
Best regards.