 | NumberFormatIsDateFormat Method |
Determines whether a defined style format number represents a date (or date and time)
Namespace: NanoXLSX.StylesAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntaxpublic static bool IsDateFormat(
NumberFormatFormatNumber number
)
Parameters
- number NumberFormatFormatNumber
- Format number to check
Return Value
BooleanTrue if the format represents a date, otherwise false
RemarksCustom number formats (higher than 164), as well as not officially defined numbers (below 164) are currently not considered during the check and will return false
See Also