I'm not familiar with Scheme. The strftime code was simply found at http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Time.html#Time
But I could find some code to get the modification time filename = #"init.inc" mt = #(stat:mtime ( stat filename )) mtstr = #(strftime "%d-%m-%Y %T" (localtime mt)) See: http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/File-System.html#File-System But I don't know how to get the current .ly file into filename. Toine Schreurs > Also do you know of a way to get the "last modified date" of the current .ly > file from the file system? > > With the last modified date you can know when the .ly file last changed > along with the run date. > _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
