I'm not sure wheter you use this to insert epoch values into a MySQL date_time field, if so, why all the hassle? You could easilly use some SQL like this:
INSERT INTO foo VALUES(FROM_UNIXTIME(1078926984));
In reply to Re: Epoch to Mysql datetime format
by b10m
in thread Epoch to Mysql datetime format - DO NOT USE
by zakzebrowski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |