[TxMt] Date snippet for Latex
Gildas Hamel
gweltaz at ucsc.edu
Thu Oct 11 05:12:13 UTC 2007
Ah, ok,
`date +"%A, %d %B %Y"`
works. Thanks.
--Gildas
* Paul McCann (paul.mccann at adelaide.edu.au) wrote:
> Date: Thu, 11 Oct 2007 14:29:13 +0930
> From: Paul McCann <paul.mccann at adelaide.edu.au>
> To: TextMate users <textmate at lists.macromates.com>
> Reply-To: TextMate users <textmate at lists.macromates.com>
> Subject: Re: [TxMt] Date snippet for Latex
>
> Gildas Hamel asked:
>
> > \subsection{${1:`date +%A`, `date +%d` `date +%B` `date +%Y`}}
> > which gives me the date as follows in my files (example):
> >
> > \subsection{Wednesday, 10 October 2007}
>
> Just use a "big" format string for a single date command:
>
> date +"%A, %d %B %Y"
>
> should do the trick.
>
> Cheers,
> Paul
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list