var MyDate:TDate; MyDate:=Date;开发者_开发知识库 How can I convert local myDate to my format: 31/12/2011?
I am trying to find a calculation that will convert the TDateTime value 40653.6830593 into a year, a month, a day, an hour, a minute and a second.
I have a TDateTime variable which is assigned a value at runtime of 40510.416667.开发者_开发百科 When I extract the time to a TTime type variable using the Frac function, it sets it to 0.41666666666.