yeah, my code just breaks the long timestamp up into shorter pieces, capturing what we need.
mktime takes 7 option arguments, in this order
int mktime ( [int hour [, int minute [, int second [, int month [, int day [, int year [, int is_dst]]]]]]])
so the first is the hour of our time, second is minute, third is second, etc...
substr will return a portion of a string.
the first argument is the string to break, the second is the starting offset, and the third is how many characters to go from the start.
a substr example can be.
echo substr("123456789", 3, 5);
that would print 45678.
it starts from 0 so add on position to whatever start you give.
so all we do is capture the different parts of the timestamp and pass them to the proper places in mktime.