Refactored & Reused GetTimestamp & GetDatestamp