Darktable/Gimp how to fix daylight photos shot with Flash white balance

That depends strongly on the time of day, See e.g.this graph with colour temperatures during a (sunny) day.

Latitude also plays a role in that sunrise and sunset times depend on it.