Calculates number of seconds between a reference date/time and a target date/time (assumes 32 bit field)

Takes a target date and reference date and then outputs the corresponding Big-endian Hex, Little-endian Hex and decimal values. It calculates these values as a 32 bit integer offset (in seconds) since the given reference date.

Can be used to reverse engineer/determine timestamp fields.

"timediff32.pl -h" will print the help hints.

See also http://cheeky4n6monkey.blogspot.com/2013/07/determining-phone-offset-time-fields.html for further details.