• 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: Why is the first of March a Tuesday
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is the first of March a Tuesday


  • Subject: Re: Why is the first of March a Tuesday
  • From: Clark Cox <email@hidden>
  • Date: Fri, 25 Mar 2016 09:01:59 -0700

> On Mar 25, 2016, at 08:43, Gerriet M. Denkmann <email@hidden> wrote:
>
> In my calendar 2016/3/1 is a Friday, but:


Something's wrong with your calendar then :). March 1, 2016 *is* a Tuesday:

% cal
     March 2016
Su Mo Tu We Th Fr Sa
       1  2  3  4  5
 6  7  8  9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31


>
> - (NSString *)timerStringFor: (NSDate *)date
> {
> 	NSDateFormatter *dateFormatter = [ [ NSDateFormatter alloc ] init];
> 	dateFormatter.dateFormat = @"EEE dd MMM yyyy HH:mm:ss ZZZ";
> 	NSString *un = [ dateFormatter stringFromDate: date ];
> 	NSLog(@"%s %@",__FUNCTION__, un);	//	Tue 01 Mar 2016 01:00:00 +0700
> 	return un;
> }
>
> prints “Tue 01 Mar 2016 01:00:00 +0700”
>
> What am I doing wrong?
>
> Gerriet.
>
> Mac OS X 10.10.5
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Why is the first of March a Tuesday
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Why is the first of March a Tuesday (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Why is the first of March a Tuesday
  • Next by Date: Re: adding days
  • Previous by thread: Why is the first of March a Tuesday
  • Next by thread: Re: Why is the first of March a Tuesday
  • Index(es):
    • Date
    • Thread