{"id":62872,"library":"sp-timestamp","title":"sp-timestamp","description":"Substrate core types and inherents for timestamps.","status":"active","version":"42.0.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/polkadot-sdk","tags":["substrate","timestamp","inherent","blockchain"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsp-timestamp = \"42.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add sp-timestamp","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Timestamp","correct":"use sp_timestamp::Timestamp;"}],"quickstart":{"code":"use sp_timestamp::Timestamp;\n\nfn main() {\n    let timestamp = Timestamp::new(1234567890);\n    println!(\"Timestamp: {:?}\", timestamp);\n}","lang":"rust","description":"Create a Substrate timestamp inherent."},"warnings":[],"env_vars":null,"search_vec":"'blockchain':14 'core':5 'inher':8,13 'sp':2 'sp-timestamp':1 'substrat':4,11 'timestamp':3,10,12 'type':6","created_at":"2026-06-17T16:36:40.537136+00:00","updated_at":"2026-06-17T16:36:40.537136+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://paritytech.github.io/polkadot-sdk/","github":"https://github.com/paritytech/polkadot-sdk","docs":"https://docs.rs/sp-timestamp/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}