diff --git a/utils/get_warranty_serial/get_serials.php b/utils/get_warranty_serial/get_serials.php index 237ce266..3a0f3d24 100644 --- a/utils/get_warranty_serial/get_serials.php +++ b/utils/get_warranty_serial/get_serials.php @@ -23,10 +23,10 @@ $blob_client = BlobRestProxy::createBlobService($conn_string); $current_date = new DateTime(); $current_date->modify("-1 day"); -$date = $current_date->format('m-d-y'); +$date = $current_date->format('m-d-Y'); $filename = 'warrantylogs' . $date . '.csv'; -//print_r($filename); +error_log($filename); try { // NOTE: via download blob