Get the components via mktime, tack them together, and there you go.