Fixed timestamp using too many decimals (casted to int)
Added ctime format