GGIR summary files often contain dates stored as formatted strings,
Excel serial numbers, R Date numbers, or POSIX timestamps.
This function detects the input type and converts all values into
a consistent ISO date representation ("YYYY-MM-DD"), suitable
for merging and aligning GGIR outputs.
Numeric values between 20000 and 60000 are treated as Excel date serials
(origin "1899-12-30"). Other numeric values are treated as R Date
values (origin "1970-01-01").