Click or drag to resize
NanoXLSX

UtilsGetOATimeString Method

Method to convert a time into the internal Excel time format (OAdate without days)

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public 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

String
Time as number string
Remarks
The time is represented by a OAdate without the date component but a possible number of total days
See Also