Derek
public php v1 · immutable// to convert MySQL timestamp to Datetime (easier to work with holy fuck is it ever)function TimestampToDatetime($Tstamp) { $dt[0] = substr($Tstamp,0,4); $dt[1] = substr($Tstamp,4,2); $dt[2] = substr($Tstamp,6,2); $tm[0] = substr($Tstamp,8,2); $tm[1] = substr($Tstamp,10,2); $tm[2] = substr($Tstamp,12,2); return (join($dt,"-") . " " . join($tm,":"));}