Hello,
I've attached an .xml document that was saved from a .xlsx document which contains the =NOW() function. If I try to save it as PDF the formula does not display correctly (2015'-'10'-'20 16':'37':'03'Z'). The format that the =NOW() date function has is Custom.
I've attached the .xml document(input1.xml) that contains the =NOW() function with the specified format. I've also attached the .xlsx file (input1.xlsx) used to generate the xml.
The code I used to reproduce this is the following:
Workbook originalWorkbook = new Workbook(@"C:\input1.xml");
using (var stream = new MemoryStream())
{
originalWorkbook.Save(stream, SaveFormat.Pdf);
File.WriteAllBytes(@"C:\test.pdf", stream.ToArray());
}
Best regards,
Florin Miertoiu
Software Developer
IBM Romania