DateFormPrBase

type DateFormPrBase = object

Description

Specific date form properties.

Properties

formatstringdefault: null

The date format, ex: mm.dd.yyyy

langstringdefault: null

The date language. Possible value for this parameter is a language identifier as defined by RFC 4646/BCP 47. Example: "en-CA".

Try It

var oDateFormPrBase = {"format": "mm.dd.yyyy", "lang": "en-US"};
var oDateForm = Api.CreateDateForm(oDateFormPrBase);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).