A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/WizardMac/ReadStat/issues/238 below:

SAS - Creation / Modified Datetime

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!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4