تطبيق نظام التاريخ 1904

Contents
[ ]

لتنفيذ نظام التاريخ 1904 في Microsoft Excel (على سبيل المثال Microsoft Excel 2003):

  1. منأدوات القائمة ، حددخيارات ، وحدد ملفعملية حسابية التبويب.
  2. حدد ملف1904 نظام التاريخ اختيار.
  3. انقرنعم.

اختيار نظام التاريخ 1904 في Microsoft Excel

ما يجب القيام به: image_بديل_نص

انظر نموذج التعليمات البرمجية التالي حول كيفية تحقيق ذلك باستخدام Aspose.Cells APIs.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// The path to the documents directory.
String dataDir = Utils.getDataDir(Implement1904DateSystem.class);
// Initialize a new Workbook
Workbook workbook = new Workbook(dataDir + "Mybook.xlsx");
// Implement 1904 date system
workbook.getSettings().setDate1904(true);
// Save the excel file
workbook.save(dataDir + "OutPut.xls");