EXTRACTDATES() only in English?

Hi,

I’ve just tested a bot using Gmail as a trigger. This bot needs to extract the date (in letters) which is in the subject line of the email. But the email subject is in French. And it only works with English? Is that correct?

Correct.

2 Likes

Hi @Steve ,
Would it be possible to translate the content into English using a acll to an Appscript function and Gemini before using it in my automation (and using EXTRACTDATE) ?

Yikes! Maybe? Not something I can help with.

Can you give us some examples of subject lines? We may be able to offer alternatives.

1 Like

Yes, here is an example of a subject line : ”Blog LPP 310, sortie 4 novembre, validité 2 décembre”

I need to extract 2 dates :
“4 novembre” => 04/11/2025
”2 décembre” => 02/12/2025

In general, it will be possible to extract dates and convert to dd/mm/yyyy format using a longish AppSheet expression, by using functions such as SUBSTITUTE() and the EXTRACTDATES() etc.

Just chiming in to mention another approach of using Gemini AI to do the needful. If you have Enterprise Plus license you could use Gemini AI integration option of “Extract”

I also tested with one my earlier tips last year referred below

That tip’s approach uses Google Apps Script to integrate Gemini AI and i believe will work with a Core license. The tip mentioned Gemini Pro 1.5 which is now obsolete. So I tested with Gemini Pro 2.5 and it did extract the month names in French and converted to dd/mm/yyyy format.

Here is a short video , that shows the Gemini at work in the app. It takes a while to process the input via GAS, Gemini and return the response. It took around 30 seconds and the task consumes around 500 tokens.

The video below shows the input to Gemini is shared in the form of question in the field [Gemini_Query_V] and the response is received after a while in the field [Gemini_Response]

Most important: Please be aware of and thoroughly evaluate pricing and other AI use guidelines by Google in production environment before any production level use.

1 Like

The following post thread suggested by community AI also seems to be a good option.

2 Likes