I am currently trying to build myself a similiar function in PHP that is supposed to fetch some dates and turn them into UNIX stamps and vice versa. Does anyone know where reasonable and understandable tutorials for that could be found or, even better, just tell me straight how this could be achieved?