Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Binary format of timeby ccn (Vicar) |
on May 26, 2009 at 06:23 UTC ( [id://766133]=perlquestion: print w/replies, xml ) | Need Help?? |
ccn has asked for the wisdom of the Perl Monks concerning the following question:
Please help me to understand the binary representation of datetime.I have a program which stores time as the following:
I'd like to be able to convert bin to txt and vice versa. I have a limited access to the program and can't just change the binary to see how time strings are changed. I hope that it may be some standard of binary format for time. Who knows? Update It's a PC with windows 98. I can fetch signed integer values from the log with unpack 'i', $part_of_bin_str The program contorls a phone station and writes log messages which I want to parse and modify. I think that time granularity is far less than one second. Something like T1. The timestamp is not generated by PC but comes from phone station.
Back to
Seekers of Perl Wisdom
|
|