Jump to content

Trouble with dates


phrozenflame

Recommended Posts

On my users table on my mysql db i have a field called "lastlogin". This is the date when the person last logged on my site and is in the format  "hh:mm:ss - dd:mm:yyyy"  eg"13:46:28 - 18/11/2005"


I want to make something so I can see who hasnt logged in within (x) amount of days.

I know know to explode it so I can get just the 18/11/2005 bit but how would I make it so I can list only those entrys that havent logged in within (x) days?
Link to comment
https://forums.phpfreaks.com/topic/32316-trouble-with-dates/
Share on other sites

Archived

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

×
×
  • Create New...

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.