PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 6th, 2009, 05:10 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2008
Posts: 13
Date format in DB for comments

This isn't truly a 'how do I', though actually more of a question, but I figured this was the most appropriate place to post. If not, I apologize!

I am wanting to be able to query against the pp_comments table in the DB to be able to find things like the highest comment count per user per time period.

(Just FYI - I don't remember if pp_ is part of the default install, or I chose it as the table prefix, but all my PhotoPost tables start with pp_)

In looking at the pp_comments table in the database I'm finding that the 'date' field is actually an int(15) and so I'm wondering what date format this is in so that I can properly convert it to a date to do my queries.

I'm running 6.11.

Thank you in advance.
BrownieScraps is offline   Reply With Quote
Old March 6th, 2009, 06:07 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
The date format is a unixtimestamp

Unix Timestamp and PHP
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 6th, 2009, 09:37 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2008
Posts: 13
Thank you so much. I had tried searching, but was just getting back garbage and I figured I'd come right to the source.

This will be very helpful.

Thanks again.
BrownieScraps is offline   Reply With Quote
Old March 7th, 2009, 12:11 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
Have a good weekend.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
date format to include hour and minute? sifuhall Photopost Pro How Do I...? 1 January 11th, 2005 07:20 PM
Europse time and date format aberg Photopost Pro Installation & Upgrades 6 January 9th, 2005 01:32 PM


All times are GMT -5. The time now is 09:08 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0