Day After Übermorgen
by in CodeSOD on 2014-08-13While working on his company's reservation manager, Stephaan stumbled upon some PHP code that calculated the date values for tomorrow ($morgen
) and the day after tomorrow ($ubermorgen
). Something about the code struck him as ... wrong.
``` // FORMAT DATE // detect this day and this month (without 0) $today = date("j") ; $thismonth = date("n") ; $manyday = date("t") ;