Skip to main content

Hello, Everyone!

I have not a big issue on filtering the records by their Last Modified Time field.

Here is the code:


$airtable = new Airtable(array(

‘api_key’ => config(‘services.airtable.api_key’),

‘base’ => config(‘services.airtable.base_id’),

));


    $today_date = Carbon::now()->toDateString();

$filtered_row = $airtable->getContent( 'Invoiced', n'filterByFormula' => "AND( LastModifiedTime = '. $today_date .' )"]);

This is in the Laravel Controller.

But it’s not working, returns the empty array as response.

Anybody, help me out.

Thank you in Advance!

Be the first to reply!

Reply