» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 59
0 members and 59 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Recent Posts Block - local time within the Nuke 6.5 to 6.9 - Blocks forums, part of the PHP-Nuke 6.5 to 6.9 category; The recent posts block shows time as FROM_UNIXTIME. Is there a way I could change this to GMT + X. I ...


Go Back   Nukemods Forum » PHP-Nuke 6.5 to 6.9 » Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2003, 10:16 PM
Junior Member
 
Join Date: Nov 2002
Location: Australia
Posts: 34
Recent Posts Block - local time
The recent posts block shows time as FROM_UNIXTIME. Is there a way I could change this to GMT + X. I have tried things such as FROM_UNIXTIME+10 etc but these are a real no no.

Any help would be appreciated please.

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-09-2003, 10:22 PM
Junior Member
 
Join Date: May 2003
Location: CT
Posts: 97
Send a message via ICQ to watson Send a message via AIM to watson Send a message via MSN to watson Send a message via Yahoo to watson
does it show FORUM_UNIXTIME where the time should be displayed?? OR is your time just off?

could u be more specific please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-09-2003, 10:30 PM
Junior Member
 
Join Date: Nov 2002
Location: Australia
Posts: 34
Thanks for your reply.

I am using a block which shows the last five forum topics on my nuke homepage. The server is in the US and the post times are US times. I would like to show the time as local Australian time (usually GMT+15).

Here is the line of code:

$result3 = sql_query("SELECT poster_id, FROM_UNIXTIME(post_time,'%d %M %y at %h:%i %p') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-10-2003, 02:15 PM
Junior Member
 
Join Date: Jun 2003
Posts: 9
hi i would also like to know how to fix this
cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-20-2003, 04:32 PM
Junior Member
 
Join Date: Jun 2003
Posts: 9
no1 any ideas ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Recent Forum Posts Block? gabi Nuke 6.5 to 6.9 - Blocks 5 03-25-2005 06:29 AM
Recent Posts Block TONG Nuke 6.5 to 6.9 - Blocks 5 07-09-2003 02:53 PM
recent posts block for subBlack? Hadron Theme packs 3 04-28-2003 11:02 PM
Recent Posts block? OiSole Nuke 6.5 to 6.9 - Blocks 1 04-04-2003 06:48 PM
Recent Posts Block Blayloc Purged Topics 9 11-20-2002 04:59 PM


All times are GMT -5. The time now is 01:58 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31