I forgot how to insert a unix timestamp into a db. I know how to insert it but i forgot how to generate it. i used something like
but it doesnt work right. I know i am not doing it right. I cant find the snippet from one of my old sites i used and forgot how. But I need to insert the timestamp from the unix epoch.
PHP:
$stamp = date (now());
but it doesnt work right. I know i am not doing it right. I cant find the snippet from one of my old sites i used and forgot how. But I need to insert the timestamp from the unix epoch.