RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.TimeOf Function

Strips the date portion from a TDateTime value.

Pascal
function TimeOf(const AValue: TDateTime): TDateTime;
C++
TDateTime TimeOf(const TDateTime AValue);

DateUtils

Call TimeOf to convert a TDateTime value to a TDateTime value that includes only the time information (sets the date portion to 0, which means 12/30/1899). 

 

DecodeTime 

ReplaceDate 

DateOf

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!