Excel.Interfaces.DatetimeFormatInfoData interface
An interface describing the data returned by calling datetimeFormatInfo.toJSON()
.
Properties
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. |
Property Details
dateSeparator
Gets the string used as the date separator. This is based on current system settings.
dateSeparator?: string;
Property Value
string
Remarks
longDatePattern
Gets the format string for a long date value. This is based on current system settings.
longDatePattern?: string;
Property Value
string
Remarks
longTimePattern
Gets the format string for a long time value. This is based on current system settings.
longTimePattern?: string;
Property Value
string
Remarks
shortDatePattern
Gets the format string for a short date value. This is based on current system settings.
shortDatePattern?: string;
Property Value
string
Remarks
shortDateTimePattern
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
timeSeparator
Gets the string used as the time separator. This is based on current system settings.
timeSeparator?: string;
Property Value
string
Remarks
Office Add-ins