Thanks a lot! This simply works. And it's flexible too, since I can manipulate the "%d-%m-%Y" string!

Bart Kummel

On 4/5/06, Toine Schreurs <[EMAIL PROTECTED]> wrote:
Try:

date = #(strftime "%d-%m-%Y" (localtime (current-time)))

Toine Schreurs

> I'm using Lilypond 2.8.0 on windows XP. For versioning reasons, I
> would like to automatically include the date the PDF is generated in
> one of the title fields. I was thinking of a "hack" like this one:
>
> #(string-append "subsubtitle LilyPond version " (lilypond-version))
>
> I tried a lot of possibilities, like:
>
> #(string-append "Generated on: " (date))

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to