Benutzerdefiniertes Datum Format g und ge mm tt

Contents
[ ]

Der folgende Beispielcode wandelt die Quellexceldatei um, die Datumsangaben mit benutzerdefinierten Formatmustern wie g und ge.mm.tt enthält, in eine Ausgabedatei im PDF-Format um.

const path = require("path");
const AsposeCells = require("aspose.cells.node");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
const filePath = path.join(dataDir, "SourceFile.xlsx");
// Loads the workbook which contains hidden external links
const workbook = new AsposeCells.Workbook(filePath);
workbook.save(path.join(dataDir, "CustomDateFormat_out.pdf"));