Feroc1ty
2011-02-28 13:41:01
how can you get systems time, not as in how long the system been up but as in the what on earth is the time the computer says ive fucked around with the functions a bit but gave up, this was my last attempt right here but it keeps returning 0's for all of the variables
pls dont post *suggestions* on what *should* work because i tried everything that *should* work and need something that *definetly* works
you dont have to write any code just point me in the right direction
pls dont post *suggestions* on what *should* work because i tried everything that *should* work and need something that *definetly* works
you dont have to write any code just point me in the right direction
function GetTimeString:string;
var h,m,s,ms:word;
time:TDateTime;
begin
time := Date;
DecodeTime( Date, h,m,s,ms);
writeln(h);
end;