Jump to content

Timestamp driven Query...


monkeytooth

Recommended Posts

Ok, alright, I don't know where to begin with this, so...

 

I have a database in it is a table with one particular column. This column contains Timestamps more specifically the generic ones "time();" I dunno I didn't build it that way but I have to work with it that way, to much to data already stored convert over to something else.

 

So I know how to take the timestamp and convert it to something readable and for the most part I can use them to do any calculations I need. However my employer has come up with a notion to break everything down by month/year.

 

That said I need to query the DB for everything, take that columns worth of date figure out the month/year and then break it down into counts. My issue with this is as mentioned above, no clue where to begin.

 

So i am looking for any and all help, im not looking for someone to code something for me, but if you can help me figure out some coding that can work id love to go back and forth with ya about it.. So thank you in advance.. Any suggestions, ideas, etc.. welcome too.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.