Implement getUnix method in TimeStamp class