php - How many days since sign up in mysql with new column -


i'd add column database displays amount of time in days since user signed up.

currently have field displays date signed in unix.

is possible new column increase fields 1 each day?

you can basic sql information dynamically. datediff() need:

select     datediff(current_date, from_unixtime(date_signed_up)) days_since_signup     tablename 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -