hey..
how can a session containing date in "now()" format be displayed in the format of :
date("D M d, Y g:i a");
i tried this :
date("D M d, Y g:i a", $logintime);
but got it showing the wrong date....
now() = 2006-12-01 22:52:06
date("D M d, Y g:i a", $logintime) = Thu Jan 01, 1970 5:00 am
it definetly is wrong...
help please !
thnx in advance !
how can a session containing date in "now()" format be displayed in the format of :
date("D M d, Y g:i a");
i tried this :
date("D M d, Y g:i a", $logintime);
but got it showing the wrong date....
now() = 2006-12-01 22:52:06
date("D M d, Y g:i a", $logintime) = Thu Jan 01, 1970 5:00 am
it definetly is wrong...
help please !
thnx in advance !
