Use existing function get current timestamp in seconds.