a guest Dec 9th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $expires = strtotime( $_POST['expire_date']);
- if($expires < current_time('timestamp', 1))
- $expires_epoch = strtotime( $_POST['expire_date']) - (( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ));
RAW Paste Data