System.TDateTime.DecodeTime

From RAD Studio API Documentation
Jump to: navigation, search

C++

void DecodeTime(unsigned short* hour, unsigned short*
       min, unsigned short* sec, unsigned short* msec) const;

Properties

Type Visibility Source Unit Parent
function public systdate.h System TDateTime

Description

Separates the TDateTime value into hour, minute, second, and millisecond values and stores these values in the hour, min, sec, and msec parameters, respectively.

Use DecodeTime() to access the hour, minute, second, or millisecond values of the TDateTime object’s time portion.