A tiny New Year's programming challenge
|
01-02-2015, 10:16 PM
(This post was last modified: 01-02-2015 11:31 PM by Gilles.)
Post: #5
|
|||
|
|||
RE: A tiny New Year's programming challenge
Hi
There is one error in your test cases : 01 Jan 2012 => week 52/2011, day 7 Here is an HP49/50 version Work both with the flag 42 set (dd/mm/yy) or not (mm/dd/yy) Date must be entered with the current HP50g format.Ex 19.081999 IsoWk -> "1999-W33-4" (flag 42 set jj.mmaaa) 12.312012 IsoWk -> "2013-W1-1" (flag 42 not set mm.jjaaaa) Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)