'Declaration Public Shared Function ExcelDateToTimeOfDay( _ ByVal excelDate As Double, _ Optional ByVal useDayInfo As Boolean _ ) As TimeSpan
public static TimeSpan ExcelDateToTimeOfDay( double excelDate, bool useDayInfo )
In Excel, only the fractional portion of the date value represents the time of day, so if excelDate is greater than 1, only the fractional part will be used.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2