I'm assuming you're using anchor
let now_ts = Clock::get().unwrap().unix_timestamp;
You will need to pass in the system program account
I'm assuming you're using anchor
let now_ts = Clock::get().unwrap().unix_timestamp;
You will need to pass in the system program account