RE: Include date?

2006-06-17 Thread Fairchild
, April 06, 2006 7:45 PM To: Rick Hansen Cc: lilypond-user@gnu.org Subject: Re: Include date? 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

Re: Include date?

2006-04-08 Thread Graham Percival
It looks like great trick; could you add it to LSR so that it's easier for other people to find? Thanks, - Graham On 5-Apr-06, at 2:55 PM, Bart Kummel wrote: 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 S

Re: Include date?

2006-04-06 Thread Toine Schreurs
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" (local

Re: Include date?

2006-04-06 Thread Rick Hansen (aka RickH)
Thanks from me too. 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. -- View this message in context: http://www.nabble.com/Include-date--t14

Re: Include date?

2006-04-05 Thread Bart Kummel
Thanks a lot! This simply works. And it's flexible too, since I can manipulate the "%d-%m-%Y" string!Bart KummelOn 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 re

Re: Include date?

2006-04-05 Thread Toine Schreurs
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: > > #(stri