This should be an easy question, but I don't know the correct syntax. I'm trying to create an animation based on NightHemisphere during a year. For each day, the instant correspond to the time of the Sunset at Paris Looking on previous answers, I have constructed this function that works:
f := Function[x, DateObject[{2022, 1, 1}] + Quantity[(x - 1), "Days"]];
tg = Table[Show[
GeoGraphics[
NightHemisphere[
Sunset[GeoPosition[{48.858042`, 2.2910492`}], DateObject[f[n]],
TimeZone -> +1]], GeoRange -> "World",
GeoCenter -> GeoPosition[{0, 0}]],
ImageSize -> Large], {n, 1, 365}];
Export["sunset_paris.gif", tg]
Now I want to add a disk representing the position of the Earth place just below the Sun at that time, as it appears in, for instance, in https://www.timeanddate.com/worldclock/sunearth.html but I don't know how to transform SunPosition[] or other function to the position of this place. SunPosition gives the astronomical position of the Sun as seen from a location, while I'm looking for a point on Earth. Any help is welcome.
f := Function[x, DateObject[{2022, 1, 1}] + Quantity[(x - 1), "Days"]]
you can simply writef[x_] := DayPlus[{2022, 1, 1}, x - 1]
$\endgroup$