pub fn current_time() -> Result<u64, ProgramError>Expand description
Returns the current Unix timestamp as a u64.
This function normalizes the timestamp to u64 because we do not care about
time before the epoch, and it helps to standardize our data types.
ยงErrors
Returns ProgramError::InvalidArgument if the conversion from i64 to
u64 fails.