Greetings all...
I'm trying to "convert" ff_date and ff_time to an AnsiString. But I have no idea on how to accomplish this!
BCB help files only gives me this:
ff_ftime and ff_fdate contain bit fields for referring to the current date and time. The structure of these fields was established by the operating system. Both are 16-bit structures divided into three fields.
So if I have following:
ff_fdate = 11114
and ff_ftime = 31840
How do I convert this to a string?
I'm not looking for a code or anything, though that would be appreciated, all I need is a hint on where to start!
Thanks in advance,
Martin! My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
I'm trying to "convert" ff_date and ff_time to an AnsiString. But I have no idea on how to accomplish this!
BCB help files only gives me this:
Code:
ff_ftime:
Bits 0 to 4 The result of seconds divided by 2 (for example 10 here means 20 seconds)
Bits 5 to 10 Minutes
Bits 11 to 15 Hours
ff_fdate:
Bits 0-4 Day
Bits 5-8 Month
Bits 9-15 Years since 1980 (for example 9 here means 1989)
ff_ftime and ff_fdate contain bit fields for referring to the current date and time. The structure of these fields was established by the operating system. Both are 16-bit structures divided into three fields.
So if I have following:
ff_fdate = 11114
and ff_ftime = 31840
How do I convert this to a string?
I'm not looking for a code or anything, though that would be appreciated, all I need is a hint on where to start!
Thanks in advance,
Martin! My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work