add stockdb:timestamp/1 helper to get correct timestamps