I have a script that organized data entries by the date submitted through the crtime function. How do I display the crtime. What would be the php code to display the date that the item was created ? Thanks.
that sounds like it could be a custom function with the script and not a regular PHP function. you should dig through the code and find other examples of how they used crtime.
crtime is not a built in php function. if it's a custom function we'd need to know the code. that or just echo / vardump crtime and show us what the value is.
I noticed that it uses the .time(). to store the date added and when stored in the database it looks like this: 1164408499 how would i make that a date like: 11/11/2006 ? or whatever date that may be.
how would i call that from a column? like would this work: $dateadded = date("m/d/Y",time($row['crtime']));
if a timestamp is stored in $row['crtime'], then it would be: $dateadded = date("m/d/Y",$row['crtime']); PHP: