casper_rust_wasm_sdk::helpersFunction get_current_timestamp
source pub fn get_current_timestamp(timestamp: Option<String>) -> String
Expand description
Gets the current timestamp.
§Arguments
timestamp
- An optional timestamp value in milliseconds since the Unix epoch.
§Returns
A string containing the current timestamp in RFC3339 format.