localhost Posted August 16, 2006 Share Posted August 16, 2006 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.[code=php:0]function decodeTime($dateline){ date("m-d-Y h:i A", $dateline); return $dateline;}[/code]any ideas? Quote Link to comment Share on other sites More sharing options...
king arthur Posted August 16, 2006 Share Posted August 16, 2006 Try[code]function decodeTime($dateline){ return date("m-d-Y h:i A", $dateline);}[/code] Quote Link to comment Share on other sites More sharing options...
localhost Posted August 16, 2006 Author Share Posted August 16, 2006 worked wonderfully! thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.