Undeclared Identifier errors related to DateSeparator and LongTimeFormat [duplicate]
问题 This question already has answers here : DecimalSeparator in SysUtils and System.SysUtils (2 answers) Closed 5 years ago . I have a program that was created in Delphi 5 and the program still runs nearly perfect on Win7 and Win8. However, when trying to run this code in XE6 (trial version) I get two errors that I am having trouble fixing. Errors are with 'DateSeparator' and 'LongTimeFormat' with each having the error "undeclared identifier" The code segment is as follows: function