Add timestamp attribute

Based off of #95