Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 04-19-2007, 08:55 AM
coma's Avatar
coma Offline
forum loafer
 
Join Date: Jan 2007
Posts: 17
date function

Would someone please tell me where to find "PP Date functoin" at PP admin files? I'm just trying to find, but I don't know where is the main function?

I want to use the output of this function to re-generate my own date in Hijri Calendar.

I'm using PP1.6
Reply With Quote
  #2  
Old 04-19-2007, 03:50 PM
Connie
Guest
 
Posts: n/a
did you check the files for the date function?

you could search for the string date( and you will find many positions...
either in /admin or in /includes
Reply With Quote
  #3  
Old 04-22-2007, 08:28 AM
coma's Avatar
coma Offline
forum loafer
 
Join Date: Jan 2007
Posts: 17
Quote:
Originally Posted by Connie View Post
did you check the files for the date function?

you could search for the string date( and you will find many positions...
either in /admin or in /includes


Yes, I know, but I need the one which generate the output of this tag :

<IMAGE_DATETIME>

so I can use my function to generate converted date.


anyone knows the exact location ? which file and where?
Reply With Quote
  #4  
Old 04-22-2007, 04:08 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
index.php

Lines 371 & 372.
PHP Code:
$image_datetime_formatted strtotime($image_datetime);
$image_datetime_formatted date($cfgrow['dateformat'],$image_datetime_formatted); 
__________________
Jay Williams | A Different View
Reply With Quote
  #5  
Old 04-22-2007, 04:49 PM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
And what this means is you can actually set the format of the date in the adminpanel, since it uses $cfgrow['dateformat'].

So if you wanna change that, look under options in the adminpanel.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #6  
Old 04-24-2007, 09:51 AM
coma's Avatar
coma Offline
forum loafer
 
Join Date: Jan 2007
Posts: 17
Thanks a lot, PP rocks!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:50 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs