• 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: Simple Date-Time Format Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Date-Time Format Question...


  • Subject: Re: Simple Date-Time Format Question...
  • From: kai <email@hidden>
  • Date: Wed, 25 Apr 2007 17:37:23 +0100


On 25 Apr 2007, at 16:59, Mark J. Reed wrote:

On 4/25/07, revDAVE <email@hidden> wrote:
This is good fun - I have never really used shell scripts before - is there
a URL I can read some information about them?

The best documentation for things like the format string to date is the man page. Just type "man date" in a Terminal window. The full list of format controls is there.

For those interested in gory details, there's also a bunch of stuff in "man strftime".


Note that the official ISO time format uses colons instead of hyphens,
and can be obtained with the simple %T.  The full ISO date/time stamp
is "date + '%FT%T'".

I've come across a number of attempts to use such formatting when adding a date/time stamp to file names. Might just be worth mentioning in passing that, since the Mac OS uses colons as path separators, this isn't really recommended.



On 25 Apr 2007, at 17:06, KOENIG Yvan wrote:

It may be time to do with Apple UK what I do with Apple France ;-(

Thanks, Yvan. (Had a sneaking feeling that the subject of locali(s/z) ation might elicit a comment or two from your corner. ;-))


---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Simple Date-Time Format Question...
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: Simple Date-Time Format Question... (From: Philip Aker <email@hidden>)
 >Re: Simple Date-Time Format Question... (From: revDAVE <email@hidden>)
 >Re: Simple Date-Time Format Question... (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: quark Object Reference HELP
  • Next by Date: Re: Simple Date-Time Format Question...
  • Previous by thread: Re: Simple Date-Time Format Question...
  • Next by thread: Re: Simple Date-Time Format Question...
  • Index(es):
    • Date
    • Thread