• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: date stamp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date stamp


  • Subject: Re: date stamp
  • From: "Jonathan del Strother" <email@hidden>
  • Date: Tue, 15 Jan 2008 09:32:54 +0000

On Jan 15, 2008 9:23 AM, Perry Winkel <email@hidden> wrote:
> when i add comment to my code i generally do this in two ways. one is to
> write
> an explanation the other is to add a short comment to the code. in the
> latter
> case i oftern add the date, f.i.
>
> // 20080110 we should not set the limit too high
>  mylimit=1024;
>
>  ...
>
> is there a way to type '20080114' with a single key combination like
> command-'='?
>

Sure, take a look at the user scripts menu (just to the left of Help).
 I think you probably want to create a shell script along the lines of
:
#!/bin/sh
echo -n `date "+%Y%m%d"`

Jon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: date stamp
      • From: Perry Winkel <email@hidden>
References: 
 >date stamp (From: Perry Winkel <email@hidden>)

  • Prev by Date: date stamp
  • Next by Date: Re: date stamp
  • Previous by thread: date stamp
  • Next by thread: Re: date stamp
  • Index(es):
    • Date
    • Thread