Talk:Last Friday of each month: Difference between revisions

→‎1582: new section
m (→‎command line: trying to autosign)
(→‎1582: new section)
Line 85:
 
:: I have a similar problem with [[OpenBSD]] 4.9. The output changes from run to run, and might show the last Mondays, Thursdays, Fridays or Saturdays. After the call to strptime(), <code>tm.tm_wday</code> contains junk values like 50237728 or 239567136. (Legal values are 0 to 6.) Change to "%d-01-01 09:01:01" and "%Y-%m-%d %H:%M:%S" is no help. Checking my manuals, [http://www.openbsd.org/cgi-bin/man.cgi?query=mktime&sektion=3&arch=amd64&apropos=0&manpath=OpenBSD+4.9 mktime(3)] describes the fields of ''struct tm'', but [http://www.openbsd.org/cgi-bin/man.cgi?query=strptime&apropos=0&sektion=0&manpath=OpenBSD+4.9&arch=amd64&format=html strptime(3)] is vague; I assume that strptime() never fills ''tm_wday'' unless the string contains the weekday. --[[User:Kernigh|Kernigh]] 01:05, 9 November 2011 (UTC)
 
== 1582 ==
 
4 Oct 1582 is followed by 15 Oct 1582 in the Gregorian Calendar.
Java seems to take care of that. Rexx results differ:
<pre>
25.09.1582
26.09.1582
27.09.1582
28.09.1582 Fri
29.09.1582
30.09.1582
01.10.1582
02.10.1582
03.10.1582
04.10.1582
15.10.1582 Fri
16.10.1582
17.10.1582
18.10.1582
19.10.1582
20.10.1582
21.10.1582
22.10.1582 Fri
23.10.1582
24.10.1582
25.10.1582
26.10.1582
27.10.1582
28.10.1582
29.10.1582 Fri
30.10.1582
31.10.1582
Java Rexx
Jän 26 Friday 29 Jan 1582
Feb 23 Friday 26 Feb 1582
Mär 30 Friday 26 Mar 1582
Apr 27 Friday 30 Apr 1582
Mai 25 Friday 28 May 1582
Jun 29 Friday 25 Jun 1582
Jul 27 Friday 30 Jul 1582
Aug 31 Friday 27 Aug 1582
Sep 28 Friday 24 Sep 1582 <--- different
Okt 29 Friday 29 Oct 1582
Nov 26 Friday 26 Nov 1582
Dez 31 Friday 31 Dec 1582
</pre>
--[[User:Walterpachl|Walterpachl]] 06:05, 11 August 2012 (UTC)
2,295

edits