Is this badly done satire or something? You have
- A standard programming convention that guarantees a unique representation for the time and for which the solution to your complaint is provided by two other functions: getHours() and getMinutes().
- A function using a completely sensible definition of the word day. (hint: use getDate() if you really want that day of the month.)
- Okay, getDate() is badly named. Big deal, it's not even in WTF territory yet. If it was named getVorpalSword(), perhaps you might have a point.
- A deprecated function? (hint: that means you aren't supposed to use it.)
- Please tell me this is a joke...
- UTC timezone offsets are only defined in minutes. This would be a WTF if it gave you the longitudinal offset from the prime meridian in minutes and left you to figure out the UTC offset, but it doesn't.