Jump to content

Talk:Last Friday of each month: Difference between revisions

Line 284:
 
--[[User:Walterpachl|Walterpachl]] 11:49, 29 August 2012 (UTC)
 
== Proposed amendment & rename: [[Find a first or last day of week in a month]] ==
 
Wots say we rename [[Last Friday of each month]] to [[Find a first or last day of week in a month]](?)...
Then use Tuesday and Thursday January 2038 (Vis-à-vis [wp:Year 2038 problem]) as test cases...
 
e.g.
<lang algol68>PROC find day of week in month year = (INT wday, month, year)INT: (
¢ Where wday=1,2,3,4... is first Mon,Tue,Wed... ¢
¢ Where wday=-1,-2,-3,... is last Mon,Tue,Wed... ¢
code...
¢ found ¢ day of month EXIT
);</lang>
 
Actually: I'm curious... is this first/last day of week issue specifically addressed in any library, or "[[wp:ICalendar#Events_.28VEVENT.29|icalendar]]" standard?
 
On another topic: We have "Last Friday" snacks every month, and need to order the food 2 days before. AFAIK no calendar program out there automatically caters for a recurrent order like this. (I've failed in google calendar and cron) Any hints.
 
[[User:NevilleDNZ|NevilleDNZ]] ([[User talk:NevilleDNZ|talk]]) 05:53, 17 April 2013 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.