Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
Convert Time function
jamesd116



Joined: 05 Jun 2006
Posts: 1559
Location: Rochester Pa

Posted: 01/10/09 18:44 
Does this convert time function add a timestamp into the DB of when this file was created
if not how would i do this i already have a created date created in the table using datetime
and then in the jrYouTube file on the front file. I have the jryoutube_created_date, but im not sure if this is going to automatically update the witht he time.

Code
The convertTime function is used to convert a given epoch time stamp into the proper number to reflect the Jamroom system's time zone, based on the setting in the Jamroom Config.

integer convertTime (integer $in, [integer $os = null])



_________________
One day the court system will learn that a childs mother is not the only option...... Question is will it be too late by that time...
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 01/10/09 18:55 
The updated time is something you'd find in the "update" sql query if there is one - it will simply have a time() function for the value of the field being updated.


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.