 | UtilsGetOATimeString Method |
Method to convert a time into the internal Excel time format (OAdate without days)
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+b0ed5f8a99a50b9e6528224889fbd7f23c30b364
Syntaxpublic static string GetOATimeString(
TimeSpan time
)
Parameters
- time TimeSpan
- Time to process. The date component of the timespan is converted to the total numbers of days
Return Value
StringTime as number string
RemarksThe time is represented by a OAdate without the date component but a possible number of total days
See Also