Pass current_time( 'timestamp' ) to date() when setting up purchase data