Excel.Interfaces.DatetimeFormatInfoData interface
An interface describing the data returned by calling datetimeFormatInfo.toJSON()
.
date |
Gets the string used as the date separator. This is based on current system settings. |
long |
Gets the format string for a long date value. This is based on current system settings. |
long |
Gets the format string for a long time value. This is based on current system settings. |
short |
Gets the format string for a short date value. This is based on current system settings. |
short |
Gets the format string for a short date and time value. This is based on current system settings. |
time |
Gets the string used as the time separator. This is based on current system settings. |
Gets the string used as the date separator. This is based on current system settings.
dateSeparator?: string;
Property Value
string
Remarks
Gets the format string for a long date value. This is based on current system settings.
longDatePattern?: string;
Property Value
string
Remarks
Gets the format string for a long time value. This is based on current system settings.
longTimePattern?: string;
Property Value
string
Remarks
Gets the format string for a short date value. This is based on current system settings.
shortDatePattern?: string;
Property Value
string
Remarks
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets the format string for a short date and time value. This is based on current system settings.
shortDateTimePattern?: string;
Property Value
string
Remarks
Gets the string used as the time separator. This is based on current system settings.
timeSeparator?: string;
Property Value
string
Remarks
Office Add-ins feedback
Office Add-ins is an open source project. Select a link to provide feedback: