Function casper_rust_wasm_sdk::helpers::parse_timestamp

source ·
pub fn parse_timestamp(value: &str) -> Result<Timestamp, SdkError>
Expand description

Parses a timestamp string into a Timestamp object.

§Arguments

  • value - The timestamp string to parse.

§Returns

A Result containing the parsed Timestamp or an error if parsing fails.