Edit this page

date Date

The date when the workbook is created. The default value is new Date().

Example - set the date

<script>
var workbook = new kendo.ooxml.Workbook({
  date: new Date(2014, 5, 18)
  sheets: [
      {
          rows: [
              { cells: [ { value: "foo" } ] }
          ]
      }
  ]
});
kendo.saveAs({
  dataURI: workbook.toDataURL(),
  fileName: "Test.xlsx"
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy