Jump to content

Archived

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

ajasax

datetime

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

×

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.