When I call the function readstat_get_creation_time (or readstat_get_modified_time) on a sas7bdat file, I get different values returned depending upon whether I am executing on Windows or on Linux.
For example, using the file somedata.sas7bdat I get the following for the creation time on Windows vs. Linux.
| Platform |
Creation Time (Raw) |
Creation Time (Formatted) |
| Windows |
1538393035 |
2018-10-01 11:23:55 |
| Linux |
1222795436 |
2008-09-30 17:23:56 |
When opening the somedata.sas7bdat file in SAS itself, it notes that the creation time is 2008-09-30 17:23:56.
Finally, I am using the latest dev version — abb31aa.
My suspicion is I have a discrepancy in the C types. I'll continue researching myself but any thoughts about what could be the root cause?
As always, thanks for the project and your time!