Hm, really? What's the definition of "epoche" here? From what I see this is simply a Unix timestamp (seconds since 1970). But it seems it's calculated wrong. strtotime() gets a date in the year "01" and will probably fail. The multiplication below assumes leap years do not exists.

Is this tested somewhere?