Changed timestamp to use long to prevent internal errors.