呈现自定义日期格式模式 g 和 ge mm dd

Contents
[ ]

下面的示例代码将源文件其中包含具有自定义格式模式的日期值,例如 g 和 ge.mm.dd输出 PDF.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
Workbook workbook = new Workbook(dataDir + "SourceFile.xlsx");
workbook.Save(dataDir + "CustomDateFormat_out.pdf");