Jump to content


This topic is now archived and is closed to further replies.


simple function not working?

Recommended Posts

i am using a dateline, so for making registered date, the regdate is mktime();

i can easily decode it by putting date("dateformat", $dateline);

so i am making a function to decode the time in my format...not sure why its not working, probably something simple.

function decodeTime($dateline)
date("m-d-Y h:i A", $dateline);
return $dateline;

any ideas?

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.