solana_config_program::date_instruction

Function store

Source
pub fn store(date_pubkey: &Pubkey, date_time: DateTime<Utc>) -> Instruction
👎Deprecated since 2.0.0: The config program API no longer supports date instructions.
Expand description

Set the date in the date account. The account pubkey must be signed in the transaction containing this instruction.