> On 2025-02-01 18:43, Uwe Brauer via General discussions about Org-mode. > wrote: > Yes, I speak Spanish :) Vale, entendido (supongo que eres español, porque usas la palabra movil, ¿correcto?) > To generate dates as you said, you can use the following code [0], on > ~man date~ you can find other strftime format constructions, or > alternatively, visit this [1] > The scheduled thing [2] had an if for certain conditions where you want > that hook to get triggered (that uses specific buffer names that in my > case are [2]), for a more simple approach, you might want to experiment > with a simpler function [3] > I attach again the script migrate-from-ts-header-to-created-property.org > because I got confused; I hope "soon" I could have a git public repo > with my emacs config > [0] > #+begin_src emacs-lisp > (defun my/org-add-timestamp-on-heading () >   (save-excursion >     (org-back-to-heading) >     (org-edit-headline (format-time-string "<%F>")) >     (my/set-property-with-inactive-timestamp "CREATED"))) Thanks, but I cannot find the function my/set-property-with-inactive-timestamp In your code, Uwe