ajasax Posted June 12, 2003 Share Posted June 12, 2003 I am wondering if there is a way to find information for a specific day. For example, find out the number of hits for a website on the current day. Link to comment https://forums.phpfreaks.com/topic/581-datetime/ Share on other sites More sharing options...
shivabharat Posted June 12, 2003 Share Posted June 12, 2003 Two ways of doing this 1. Use a table and update details like number + date (timestamp) query based on date select count(*) from counter where date=<ur date> 2. Use a file and create separate file s for each date automatically and store the hits done Both has there own advantage + disadvantage So u have to decide whcih one u are going to go for Link to comment https://forums.phpfreaks.com/topic/581-datetime/#findComment-1954 Share on other sites More sharing options...
ajasax Posted June 16, 2003 Author Share Posted June 16, 2003 I didn\'t think about that. I think I\'ll just store a copy of the date in a separate column. Thanks for the help! Link to comment https://forums.phpfreaks.com/topic/581-datetime/#findComment-2017 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.