Help Center

COleDateTime.SetDateTimemethod

Sets the date and time of this **COleDateTime** object.

DateTimemethodCOleDateTime.incdocumented

Syntax

FUNCTION SetDateTime (BYVAL nYear AS WORD, BYVAL nMonth AS WORD, BYVAL nDay AS WORD, BYVAL nHour AS WORD, BYVAL nMin AS WORD, BYVAL nSec AS WORD)

Parameters

NameDescription
nYear / nMonth / nDay / nHour / nMin / nSecIndicates the date and time values to be copied into the COleDateTime object.

Description

Sets the date and time of this COleDateTime object.

Reference

  • Include file COleDateTime.inc
  • Defined in AfxNova/COleDateTime.inc:597
  • Documented in DateTime/COleDateTime Class.md
  • Topic: COleDateTime Class