How to make TDateTimePicker control returns four years

Category: Delphi -> VCL/Component Author: deerfhqmilu6 Date: 2013-05-08 20:54:30
 
deerfhqmilu6
2013-05-08 20:54:30
How to make TDateTimePicker control returns four years
example: when using DateTimePicker1.DateTime return value is '03-2-22 '
how to make his return to '2003-2-22'
kanjiu05
2013-05-08 21:09:59
FORMATDATETIME (YYYYMMDD)
hazelcheng
2013-05-08 21:46:31
Start "Control Panel" Regional Options "date" set
hawelina
2013-05-08 22:20:00
FormatDateTime (const Format: string; DateTime: ; TDateTime): string; overload;
FORMATDATETIME ('yyyyMMdd', datetimepicker1.datetime)
wchao712
2013-05-08 22:46:07
can modify DateTimePicker1.format: = 'yyyy-MM-dd'