Hi,
I would like to convert the date I can obtain from {$INCLUDE %DATE} to a TDateTime ... if I output it directly, I get '2011/05/01'.
TryStrToDate({$INCLUDE %DATE}, BuildDateTime)
TryStrToDate({$INCLUDE %DATE}, BuildDateTime, '\')
TryStrToDate({$INCLUDE %DATE}, BuildDateTime, 'YYYY/MM/DD', '\')
TryStrToDate({$INCLUDE %DATE}, BuildDateTime, 'YYYY/MM/DD')
all fail, however. What is going wrong here and is there any documentation on the useformat parameter?
Thanks!