Changed filename format for the file to retrieve. #551
This commit is contained in:
parent
87a9ec726e
commit
b2e23e8ed9
1 changed files with 2 additions and 2 deletions
|
|
@ -23,10 +23,10 @@ $blob_client = BlobRestProxy::createBlobService($conn_string);
|
||||||
$current_date = new DateTime();
|
$current_date = new DateTime();
|
||||||
$current_date->modify("-1 day");
|
$current_date->modify("-1 day");
|
||||||
|
|
||||||
$date = $current_date->format('m-d-Y');
|
$date = $current_date->format('m-d-y');
|
||||||
|
|
||||||
$filename = 'warrantylogs' . $date . '.csv';
|
$filename = 'warrantylogs' . $date . '.csv';
|
||||||
//print_r($filename);
|
print_r($filename);
|
||||||
|
|
||||||
// NOTE: via download blob
|
// NOTE: via download blob
|
||||||
$res = $blob_client->getBlob('warranty', $filename);
|
$res = $blob_client->getBlob('warranty', $filename);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue