Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (isaac), 65 guests, and 393 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
TGCsanderson
TGCsanderson
Hackelton U.K.
Posts: 67
Joined: September 2007
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 16
FREAK 11
M4TT 11
Ruben 6
mmkk 5
isaac 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
7.6 Date and Time #260476
09/16/17 03:58 PM
09/16/17 03:58 PM
Joined: Sep 2006
Posts: 160
Long Island, NY
L
Larry Miller Offline OP
member
Larry Miller  Offline OP
member
L
Joined: Sep 2006
Posts: 160
Long Island, NY
There is a discrepancy between the database time and the forum time...is this a bug? I am running into this issue creating polls with start and end times...anyone have an answer or how to fix?

Primary

Date & Time

HTML Includes

Timezone For Guests
All times will be displayed to guests as if they were in this timezone.

Database Time: 09/16/17 08:54 PM
Database Timezone: UTC


Guest Time: 09/16/17 04:54 PM
Guest Timezone: America/New_York

Difference in hours: -4

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: 7.6 Date and Time [Re: Larry Miller] #260477
09/16/17 04:03 PM
09/16/17 04:03 PM
Joined: Jun 2006
Posts: 16,786
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,786
Portland, OR; USA
In v7.6.0 we store timestamps in the database as +0/GMT. As a guest user cannot configure their own timezone in their preferences like a user can, there is a setting for their "default timezone" in the control panel.

Previously there was a hardcoded time as whatever the forum default time was, and users could set an offset based on that, now they just select their timezone.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: 7.6 Date and Time [Re: Larry Miller] #260478
09/16/17 04:07 PM
09/16/17 04:07 PM
Joined: Sep 2006
Posts: 160
Long Island, NY
L
Larry Miller Offline OP
member
Larry Miller  Offline OP
member
L
Joined: Sep 2006
Posts: 160
Long Island, NY
Thanks for your reply but I don't understand what you are saying?

When I created a poll to start at 12:01 am in the poll after saving the poll it shows a start time of 8:01 which is 4 hours earlier than the start time I set...where in thge control panel do I change the settings in my initial post?

Re: 7.6 Date and Time [Re: Larry Miller] #260479
09/16/17 04:08 PM
09/16/17 04:08 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
New York time is: UTC -4 hours.
The forum stores all data in UTC time.
If you have set your "Guest Time" up to be -4 hours, all times will display as "UTC TIME -4 HOURS" to guests.

In older versions of UBB.threads (7.5.x and older), the time was based on OFFSETS. This meant that each user needed to manually update their forum time offset twice each year. The current version of UBB.threads (7.6.x +) uses Time Zones.

Re: 7.6 Date and Time [Re: Larry Miller] #260480
09/16/17 04:12 PM
09/16/17 04:12 PM
Joined: Sep 2006
Posts: 160
Long Island, NY
L
Larry Miller Offline OP
member
Larry Miller  Offline OP
member
L
Joined: Sep 2006
Posts: 160
Long Island, NY
My guest time zone is set to to the current time in the drop down..on the right...where else can I set it so the -4 hours zero's out?

BTW, I am the admin and I am having the issue

Last edited by Larry Miller; 09/16/17 04:13 PM.
Re: 7.6 Date and Time [Re: Larry Miller] #260481
09/16/17 04:19 PM
09/16/17 04:19 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Online splat
UBB.threads Developer
isaac  Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
If you want it to "zero out," within the forum Control Panel, set the Guest Timezone to "UTC+00:00." This will give you absolute ZERO time adjustments for guest users.

If you want to change the display just for your own account, you can update your own account settings in the Display Preferences page, under "Your Timezone." This will only affect your account, since this is your account's Display Settings.

EDIT: Remember though, all times are stored within the database as UTC+00:00.

Last edited by isaac; 09/16/17 04:21 PM.
Re: 7.6 Date and Time [Re: Larry Miller] #260482
09/16/17 04:25 PM
09/16/17 04:25 PM
Joined: Sep 2006
Posts: 160
Long Island, NY
L
Larry Miller Offline OP
member
Larry Miller  Offline OP
member
L
Joined: Sep 2006
Posts: 160
Long Island, NY
Thank you...much appreciated


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,536
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)