Assuming strtotime is required, the following 3 results were found.
at the stroke of midnight. Take the last row as an example, the equation that's happening is: $thisDateSQL=date("Y-m-d", strtotime($sub_row['DateSession'])); $this_time_from1 = date("H:i", strtotime($sub_row['TimeFromSession'])); $this_time_to1 =...
one I understand and can customize to fit my needs. This PHP function accepts as parameter a SQL date (or date format that strtotime() can convert) and outputs the largest unit (for example "1 year" not "1 year 2 months 3 days, etc..."). function...
$api['jwt']['claim_set']['aud'] = $api['gapis']['oauth']['token']; $api['jwt']['claim_set']['exp'] = strtotime('+1 hour'); $api['jwt']['claim_set']['iat'] = strtotime('now'); And finally the JWT signature (or assertion in this case resulting as a...