fixed unix timestamp issue on windows