Rendera anpassat datumformat Mönster g och ge mm dd
Contents
[
Hide
]
Aspose.Cells kan nu återge det anpassade datumformatmönstret som g, ge.mm.dd och liknande. Kontrollera bifogadesource excel-fil och denkonverterad PDF av Aspose.Cells för din referens.
Rendera anpassat datumformat Mönster g och ge.mm.dd
Följande exempelkod konverterarsource excel-fil som innehåller datumvärden med anpassade formatmönster som g och ge.mm.dd intoutgång PDF.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java | |
// The path to the directories. | |
String sourceDir = Utils.Get_SourceDirectory(); | |
String outDir = Utils.Get_OutputDirectory(); | |
Workbook workbook = new Workbook(sourceDir + "sampleRenderCustomDateFormat.xlsx"); | |
workbook.save(outDir + "sampleRenderCustomDateFormat_out.pdf"); |