Changed timestamp conversion functions to allow a timestamp of 0 (found that Chrome for iOS has some values set as 0 that the desktop versions populate).