Added a new function timestamp to get the current time back. Fixes #494