1
smdcom
some user_regdate question

hi guys.. need ur explaination...

how to change MySQL date format to normal format... example in user_regdate field will display something like this...

1097005721 << how to change it to date format?

i want to make some query to count user registration current day & yesterday reg...

2
ackbarr
Re: some user_regdate question

xoops includes a handy function formatTimestamp() which looks like this:

function formatTimestamp($time$format="l"$timeoffset="")


To Use:
$pretty_time formatTimestamp($mysqltime);


I give further information about this function here

Login

Who's Online

438 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 438


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits