How to plot an annotation with datetime X

You need to convert the DateTime object to its value.

annotate!(Dates.value.([x]), [2], Plots.text("Here", 16, :red, :center))