I am using the FileDateTime routine to examine the date & time of generation of a file. The reason is so that the program can check whether the file version being examined is more recent than that which had previously been viewed.

The routine works fine, but the Date value returned seems to be in whatever format the local machine is set to eg. dd/mm/yy, mm/dd/yy etc. This is making for difficulties when the program has to work on machines with different regional settings. Without being able to rely upon a consistent format for the date info. returned it is hard to write code to check for latest version.

Is there please a way of ensuring that FileDateTime always returns the date information in a certain format (eg. dd/mm/yy) regardless of the computer's regional settings and date/time settings. I would not wish that the program makes a permanent change to the user's computer settings.

camoore

Wales, UK