The African Chief wrote:
program x; var time:TimeStamp; begin GetTimeStamp(time); writeln(time.day,'.',time.month,'.',time.year,' ', time.hour,':',time.minute,':',time.second) end.
The output from this is unintelligible. Is there a way to convert the output into something useful?
We won't argue about different date/time formats, will we? I just used the format that's usual around here. Since the writeln statement should be self-explanatory, you should have no problems converting it into a format that you prefer.
Regards, Frank
Frank Heckenbach wrote:
The African Chief wrote:
program x; var time:TimeStamp; begin GetTimeStamp(time); writeln(time.day,'.',time.month,'.',time.year,' ', time.hour,':',time.minute,':',time.second) end.
The output from this is unintelligible. Is there a way to convert the output into something useful?
We won't argue about different date/time formats, will we? I just used the format that's usual around here. Since the writeln statement should be self-explanatory, you should have no problems converting it into a format that you prefer.
I was not talking about the date/time format at all. I was talking about the actual values that are displayed. I just ran the program again, and this is the output (DJGPP, running under Windows NT v4.0):
"327680.786432.130875392 851968:2490368:2424832"
That is what I mean by "unintelligible". I don't know how to translate these values into something that means something to human beings.
Best regards, The Chief -------- Dr. Abimbola A. Olowofoyeku (The African Chief) Email: laa12@keele.ac.uk Homepage: http://ourworld.compuserve.com/homepages/African_Chief/ Author of: Chief's Installer Pro 4.01 for Win16 and Win32: http://www.simtel.net/pub/simtelnet/win3/install/chief401.zip