Properties

Description

Call RecodeDateTime to convert the date/time value specified by AValue with the value obtained by changing the year to AYear, the month to AMonth, the day of the month to ADay, the hour to AHour, the minute to AMinute, the second to ASecond, and the millisecond to AMilliSecond. Any one of these parameters can be set to RecodeLeaveFieldAsIs, which tells RecodeDateTime not change the existing portion of the TDateTime value specified in AValue.

Legal values for ADay depend on the month represented by AMonth. (For example, if AMonth is 1, ADay can range from 1 through 31, if AMonth is 2, ADay can range from 1 through 28 or 1 to 29, depending on the year, and so on.) ADay can also be RecodeLeaveFieldAsIs.