[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

DecodeDateFully

Decode a date with additional date of the week.

Declaration

Source position: datih.inc line 104

function DecodeDateFully(

  const DateTime: TDateTime;

  var Year: Word;

  var Month: Word;

  var Day: Word;

  var DOW: Word

):Boolean;

Description

DecodeDateFully, like DecodeDate, decodes DateTime in its parts and returns these in Year, Month, Day but in addition returns the day of the week in DOW.

Errors

None.

See also

EncodeDate

  

Encode a Year,Month,Day to a TDateTime value.

TryEncodeDate

  

Try to encode a date, and indicate success.

DecodeDate

  

Decode a TDateTime to a year,month,day triplet