Back to Home

DateTime

Unknown
0x1a6184cd4c5b...e7315b7bcbce
FrontierSource Verified
Deployed October 6, 2015 (10 years ago)Block 343,248

A Solidity date and time utility library deployed by Piper Merriam on October 6, 2015, providing functions to parse Unix timestamps into human-readable date com...

Key Facts

Deployer
Piper Merriam(0xd3CdA9...293601)
Deployment Block
343,248
Deployment Date
Oct 6, 2015, 04:34 PM
Code Size
1.9 KB
Transactions by Year
20241

Description

The DateTime contract was deployed at block 343248 on October 6, 2015, by address 0xd3CdA913deB6f67967B99D67aCDFa1712C293601, which also deployed the Ethereum Alarm Clock fourteen days earlier on September 22, 2015. The source code includes the contract's own address in the header comment, a pattern suggesting it was designed as a shared, reusable library that other contracts could reference on-chain.

The library defines a DateTime struct containing fields for year, month, day, hour, minute, second, and weekday as unsigned integers. It exposes a parseTimestamp function that converts a Unix timestamp into this structured form. The implementation correctly handles leap year detection using the full Gregorian calendar rules: years divisible by 4 are leap years, with exceptions for century years not divisible by 400.

The contract was compiled with Solidity v0.1.3, one of the earliest stable compiler versions available on mainnet. The library pattern used here, where utility code is deployed as a standalone contract whose address is distributed, was an early approach to code reuse in Solidity before formal library linking was mature.

This deployment was part of pipermerriam's active development of the Ethereum Alarm Clock system. Scheduling transactions at future block numbers requires working with block timestamps, making date parsing utilities a practical dependency for the scheduling infrastructure.

Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Unknown

Frontier Era

The initial release of Ethereum. A bare-bones implementation for technical users.

Block span: 01,149,999
July 30, 2015March 14, 2016

Bytecode Overview

Opcodes1,956
Unique Opcodes141
Jump Instructions137
Storage Operations33

Verified Source Available

This contract has verified source code on Etherscan.

View Source Code

External Links