Help Center

CTimeSpan.Constructorsconstructor

Create new **CTimeSpan** objects initialized to the specified value.

DateTimeconstructorCTime64.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

CONSTRUCTOR CTimeSpan
CONSTRUCTOR CTimeSpan (BYVAL lltime AS LONGLONG)
CONSTRUCTOR CTimeSpan (BYVAL lDays AS LONG, BYVAL nHours AS LONG, BYVAL nMins AS LONG, BYVAL nSecs AS LONG)

Parameters

NameDescription
lltimeA \_\_time64_t (LONGLONG) value.
lDays / nHours / nMins / nSecsIndicates the day and time values to be copied into the new CTimeSpan object.

Description

Create new CTimespan objects initialized to the specified value.

Reference

  • Include file CTime64.inc
  • Documented in DateTime/CTime64 Class.md
  • Topic: CTime64 Class