• Wpisów: 538
  • Średnio co: 7 dni
  • Ostatni wpis: 6 lat temu, 01:30
  • Licznik odwiedzin: 33 149 / 3831 dni
 
krzysiek
 
Krzysiek:

“It’s a pretty common programming problem: given two dates, determine how many days are between them. Most programmers have the benefit of built-in library code, whether that’s DateTime in .NET, Calendar in Java, and so on. Some – MUMPS programmers, probably – have no choice but to parse and then re-implement the same “30 days hath September…” algorithm. And then of course there are the few who re-implement it anyway, perhaps because they figured that no one else in the history of computing had ever solved that unique problem.”



thedailywtf.com/Articles/A-Better-Date-Diff.aspx

Nie możesz dodać komentarza.