COleDateTime.SetDateTimemethod
Sets the date and time of this **COleDateTime** object.
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
| Name | Description | |
|---|---|---|
nYear / nMonth / nDay / nHour / nMin / nSec | Indicates 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